bytebuffer.js icon indicating copy to clipboard operation
bytebuffer.js copied to clipboard

A fast and complete ByteBuffer implementation using either ArrayBuffers in the browser or Buffers under node.js.

Results 41 bytebuffer.js issues
Sort by recently updated
recently updated
newest added
trafficstars

I try to include org.webjars.npm:bytebuffer:5.0.0 as a dependency with Ivy, but I get resolution errors. org.webjars.npm#long;[3,4): not found This doesn't seem to be published, on http://repo1.maven.org/maven2/org/webjars/npm/long/ there is only version...

Is there a way in ByteBuffer I can create a UTF16 string from a UTF8 string ? Would really help me a lot. Thanks!

I've been comparing the performance of JSON vs ProtoBuf in a Web app. For that purpose I took a sample JSON structure (196K, mostly strings) and the equivalent ProtoBuf structure...

Perhaps it would be better to throw exception or have an option to have such option when `length % 4 !==0` or string has white spaces. ``` javascript > ByteBuffer.btoa(ByteBuffer.atob("a"))...

Hey friends, I've just upgraded from 2.x to 4.x and now my buffers are missing `length` property... is that expected? What's the alternative I should be using?

Using version 3.5.5 with nodejs v0.12.4 ``` var ByteBuffer = require('bytebuffer') var a = ByteBuffer.fromHex('vvzzkk', true, false) console.log(a); var b = ByteBuffer.fromHex('vvzzkk', true, true) console.log(b); ``` prints ``` { buffer:...

Hello, I'm not familiar with ByteBuffer (trying it for the first time due protobuf.js), but I'm trying to simply write an int32 to the buffer, convert it to a ArrayBuffers...

using typed-arrays-polyfill to send msg by websocket, and capture package by wireshark, the opcode of package is text(0001). without using polyfill, the opcode value is binary (0010) . ps: already...

question

The Node.js `Buffer` can encode and decode strings using various encodings. And the [iconv-lite](https://github.com/ashtuchkin/iconv-lite) library adds additional encodings. `ByteBuffer` should be flexible enough to handle any encodings that `ByteBuffer` can...

Code coverage is almost perfect, Istanbul is reporting: ``` Statements: 88.32% (839 / 950) Branches: 74.66% (442 / 592) Functions: 95.51% (85 / 89) Lines: 90.28% (808 / 895) Ignored:...

enhancement