10000 More work on encodings, see #60 · adon-at-work/bytebuffer.js@a7a250d · GitHub
[go: up one dir, main page]

Skip to content

Commit a7a250d

Browse files
committed
More work on encodings, see protobufjs#60
1 parent 8cabbfd commit a7a250d

17 files changed

+219
-267
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A fast and complete ByteBuffer implementation using either ArrayBuffers in the b
44
generated from a single source tree through [MetaScript](https://github.com/dcodeIO/MetaScript).
55

66
[![Build Status](https://travis-ci.org/dcodeIO/bytebuffer.js.svg?branch=master)](https://travis-ci.org/dcodeIO/bytebuffer.js)
7-
[![Donate](https://raw.githubusercontent.com/dcodeIO/bytebuffer.js/master/donate.png)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=dcode%40dcode.io&item_name=Open%20Source%3A%20bytebuffer.js)
7+
[![Donate](https://raw.githubusercontent.com/dcodeIO/bytebuffer.js/master/donate.png)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=dcode%40dcode.io&item_name=%3C3%20bytebuffer.js)
88

99
Features
1010
--------
@@ -61,4 +61,4 @@ Contributors
6161

6262
License
6363
-------
64-
Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.html
64+
**License:** [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html) - Logo derived from [W3C HTML5 Logos](http://www.w3.org/html/logo/) (CC A 3.0)

dist/bytebuffer-dataview.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,14 @@
108108
* @type {boolean}
109109
* @expose
110110
*/
111-
this.littleEndian = typeof littleEndian !== 'undefined' ? !!littleEndian : false;
111+
this.littleEndian = littleEndian;
112112

113113
/**
114114
* Whether to skip assertions of offsets and values, defaults to `false`.
115115
* @type {boolean}
116116
* @expose
117117
*/
118-
this.noAssert = !!noAssert;
118+
this.noAssert = noAssert;
119119
};
120120

121121
/**
@@ -168,7 +168,7 @@
168168
* and int64 support is not available.
169169
* @type {?Long}
170170
* @const
171-
* @see https://github.com/dcodeIO/Long.js
171+
* @see https://github.com/dcodeIO/long.js
172172
* @expose
173173
*/
174174
ByteBuffer.Long = Long || null;

dist/bytebuffer-dataview.min.js

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bytebuffer-dataview.min.js.gz

-2 Bytes
Binary file not shown.

dist/bytebuffer-dataview.min.map

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dist/bytebuffer-node.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,14 @@ module.exports = (function() {
9494
* @type {boolean}
9595
* @expose
9696
*/
97-
this.littleEndian = typeof littleEndian !== 'undefined' ? !!littleEndian : false;
97+
this.littleEndian = littleEndian;
98 10000 98

9999
/**
100100
* Whether to skip assertions of offsets and values, defaults to `false`.
101101
* @type {boolean}
102102
* @expose
103103
*/
104-
this.noAssert = !!noAssert;
104+
this.noAssert = noAssert;
105105
};
106106

107107
/**

dist/bytebuffer.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,14 @@
108108
* @type {boolean}
109109
* @expose
110110
*/
111-
this.littleEndian = typeof littleEndian !== 'undefined' ? !!littleEndian : false;
111+
this.littleEndian = littleEndian;
112112

113113
/**
114114
* Whether to skip assertions of offsets and values, defaults to `false`.
115115
* @type {boolean}
116116
* @expose
117117
*/
118-
this.noAssert = !!noAssert;
118+
this.noAssert = noAssert;
119119
};
120120

121121
/**
@@ -168,7 +168,7 @@
168168
* and int64 support is not available.
169169
* @type {?Long}
170170
* @const
171-
* @see https://github.com/dcodeIO/Long.js
171+
* @see https://github.com/dcodeIO/long.js
172172
* @expose
173173
*/
174174
ByteBuffer.Long = Long || null;

0 commit comments

Comments
 (0)
0