smart-buffer
smart-buffer copied to clipboard
smart-buffer is a Buffer wrapper that adds automatic read & write offset tracking, string operations, data insertions, and more.
I'm not sure what the best name for it would be, but would be nice to have convenience methods for the following common scenario: ``` // write const data =...
Great project! It would be great if we could pass the endian type in the constructor and have a request like `writeUint32` that will use the passed endian
Great project man! The only thing that concerns me is the performance issue: ``` 6 tests completed. DataView x 113,477 ops/sec ±5.44% (63 runs sampled) Buffer x 49,649 ops/sec ±6.65%...
This PR adds convenience methods for skipping when reading/writing. Resolves #46.
Hey! One thing I'm missing is [VarInt](https://developers.google.com/protocol-buffers/docs/encoding#varints) support. I currently implemented support for this as follows using [varint](https://www.npmjs.com/package/varint) library. It does not comply to current code standards, and I had...
Closes https://github.com/JoshGlazebrook/smart-buffer/issues/45
Hi, I just started using SmartBuffer to wrap client/server packets and so far it's working splendidly. 👌 That said, I just reached a point where I need to skip a...
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.2 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@ChALkeR). Fix boolean schemas with strictKeywords...
Bumps [pathval](https://github.com/chaijs/pathval) from 1.1.0 to 1.1.1. Release notes Sourced from pathval's releases. v1.1.1 Fixes a security issue around prototype pollution. Commits db6c3e3 chore: v1.1.1 7859e0e Merge pull request #60 from...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.5 to 1.0.7. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...