You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ unsigned and the actual bit sizes. It's also used for the cross-platform multipl
8
8
ByteBuffer
9
9
----------
10
10
* Mimics [Java ByteBuffers](http://docs.oracle.com/javase/1.5.0/docs/api/java/nio/ByteBuffer.html) as close as reasonable while using typed array terms
11
+
* Full 64bit support via [Long.js](https://github.com/dcodeIO/Long.js) (optional)
11
12
* Simple allocation (`new ByteBuffer(capacity[, littleEndian])` or `ByteBuffer.allocate(capacity[, littleEndian])`)
12
13
* Wrapping of quite everything which is or includes an ArrayBuffer (`ByteBuffer.wrap(buffer[, littleEndian])`)
13
14
* Cloning using the same (`ByteBuffer#clone()`) and copying using an independent backing buffer (`ByteBuffer#copy()`)
@@ -23,15 +24,14 @@ ByteBuffer
23
24
* Reversing (`ByteBuffer#reverse()`), appending (`ByteBuffer#append(src[, offset])`) and prepending
24
25
(`ByteBuffer#prepend(src[, offset])`) of other ByteBuffers with implicit capacity management
25
26
* Explicit destruction (`ByteBuffer#destroy()`)
26
-
*`ByteBuffer#writeUint/Int8/16/32(value[, offset])` and `ByteBuffer#readUint/Int8/16/32([offset])`
27
+
*`ByteBuffer#writeUint/Int8/16/32/64(value[, offset])` and `ByteBuffer#readUint/Int8/16/32/64([offset])`
27
28
*`ByteBuffer#writeVarint32/64(value[, offset])` and `ByteBuffer#readVarint32/64([offset])` to write a base 128
28
29
variable-length integer as used in [protobuf](https://developers.google.com/protocol-buffers/docs/encoding#varints)
29
30
*`ByteBuffer#writeZigZagVarint32/64(value[, offset])` and `ByteBuffer#readZigZagVarint32/64([offset])` to write a
30
31
zig-zag encoded base 128 variable-length integer as used in protobuf for efficient encoding of signed values
31
-
*`ByteBuffer#writeUint/Int64(value[, offset])` and `ByteBuffer#readUint/Int64([offset])` via [Long.js](https://github.com/dcodeIO/Long.js)
32
32
*`ByteBuffer#writeFloat32/64(value[, offset])` and `ByteBuffer#readFloat32/64([offset])`
0 commit comments