Skip to content

Commit 92d3d63

Browse files
author
Daniel Wirtz
committed
README
1 parent 4c075e5 commit 92d3d63

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ unsigned and the actual bit sizes. It's also used for the cross-platform multipl
88
ByteBuffer
99
----------
1010
* 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)
1112
* Simple allocation (`new ByteBuffer(capacity[, littleEndian])` or `ByteBuffer.allocate(capacity[, littleEndian])`)
1213
* Wrapping of quite everything which is or includes an ArrayBuffer (`ByteBuffer.wrap(buffer[, littleEndian])`)
1314
* Cloning using the same (`ByteBuffer#clone()`) and copying using an independent backing buffer (`ByteBuffer#copy()`)
@@ -23,15 +24,14 @@ ByteBuffer
2324
* Reversing (`ByteBuffer#reverse()`), appending (`ByteBuffer#append(src[, offset])`) and prepending
2425
(`ByteBuffer#prepend(src[, offset])`) of other ByteBuffers with implicit capacity management
2526
* 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])`
2728
* `ByteBuffer#writeVarint32/64(value[, offset])` and `ByteBuffer#readVarint32/64([offset])` to write a base 128
2829
variable-length integer as used in [protobuf](https://developers.google.com/protocol-buffers/docs/encoding#varints)
2930
* `ByteBuffer#writeZigZagVarint32/64(value[, offset])` and `ByteBuffer#readZigZagVarint32/64([offset])` to write a
3031
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)
3232
* `ByteBuffer#writeFloat32/64(value[, offset])` and `ByteBuffer#readFloat32/64([offset])`
3333
* `ByteBuffer#write/readByte`, `ByteBuffer#write/readShort`, `ByteBuffer#write/readInt`, `ByteBuffer#write/readLong`
34-
(all signed), `ByteBuffer#write/readVarint` and `ByteBuffer#write/readZigZagVarint` (both 32bit),
34+
(all signed), `ByteBuffer#write/readVarint` and `ByteBuffer#write/readZigZagVarint` (both 32bit signed),
3535
`ByteBuffer#write/readFloat`, `ByteBuffer#write/readDouble` aliases for the above for convenience
3636
* `ByteBuffer#writeUTF8String(str[, offset])` and `ByteBuffer#readUTF8String(chars[, offset])` using the included UTF8
3737
en-/decoder (full 6 bytes, [ref](http://en.wikipedia.org/wiki/UTF-8#Description))

0 commit comments

Comments
 (0)