Repository navigation
v1.1.7
Changes:
- Renamed
UnmarshalBytestoUnmarshalBytesCropped - Added
UnmarshalBytesCopied:
From Docs:UnmarshalBytesCopied returns a new allocated slice with a copy of the marshalled byte slice insideb. It's slower than UnmarshalBytesCropped, but modifications tobwon't affect the returned byte slice - BencGen: Added a new type attribute
rcopy. It can be used before abytestype field to useUnmarshalBytesCopied. https://github.com/deneonet/benc/blob/main/cmd/bencgen/README.md#type-attributes
--- Thanks to mxmauro (#11) for this suggestion!