buffer-layout
buffer-layout copied to clipboard
Node.js support for translating between JavaScript values and Buffers
#### Problem There are no type definitions available for TypeScript users
Now that `buffer-layout` is more browser friendly, it would be great to keep it that way and have tests to prevent future breakage.
Hey @pabigot, thanks for this library! We have been using it extensively for manual deserialization of blockchain data at Solana. I would like to propose that this library transition to...
Hello I have an array of structs coming from a Rust app that I am trying to deserialize using buffer-layout. It sort of works but the values are coming in...
There appears to be a use case for a layout for undecoded data that, like UTF8, is variable length. An idiom of using a null layout handles top-level cases (the...
In case this helps with #33 You might prefer a fully fleshed-out example, but this should at least help someone searching the README for 'big endian' to find out how...
Nice library! It might be helpful to add examples or at least a quick note on the big-endian types. I wasn't able to find them without diving into the source.
Can anyone please explain how to encode String data type in the Solana web3 frontend?