keichi / binary-parser

A blazing-fast declarative parser builder for binary data
MIT License
857 stars 133 forks source link

Turning Objects Back into Buffers? #254

Open philhk opened 5 months ago

philhk commented 5 months ago

Just like the title says. Is there any way to convert an object back into a buffer? Even if it's a different library?

Kreijstal commented 4 months ago

binary writer?

Kreijstal commented 4 months ago

@philhk Found it! https://github.com/Ericbla/binary-parser/pull/28

nevermind just use #243

you can also consider https://github.com/jDataView/jBinary