8000 Clarify Long dependency · protobufjs/bytebuffer.js@b993400 · GitHub
[go: up one dir, main page]

Skip to content

Commit b993400

Browse files
committed
Clarify Long dependency
1 parent 3064a56 commit b993400

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,16 @@ available.
2626

2727
```javascript
2828
var ByteBuffer = require("bytebuffer");
29-
var bb = new ByteBuffer();
30-
bb.writeIString("Hello world!").flip();
29+
30+
var bb = new ByteBuffer()
31+
.writeIString("Hello world!")
32+
.flip();
3133
console.log(bb.readIString()+" from ByteBuffer.js");
3234
```
3335

36+
In the browser, 64 bit integer support is optional and present only if [Long.js](https://github.com/dcodeIO/Long.js) has
37+
been loaded prior to ByteBuffer.js.
38+
3439
API
3540
---
3641
* [View the API documentation](http://htmlpreview.github.io/?https://raw.githubusercontent.com/dcodeIO/ByteBuffer.js/master/docs/index.html)

0 commit comments

Comments
 (0)
0