Releases: NetrexMC/binary-utils
v0.3.3 - Syntax Sugar & Bug fixes
Change Log
Streamable
is now properly deprecated and will be completely removed inv0.4.0
- The following type structs have been added under
binary_util::types
:u24
&i24
varu32
andvari32
varu64
andvari64
LE
now properly encodes as Little EndianBE
now exists as an explicit type. (Even though by default everything is BE)- A bug with derive has been fixed that dis-allowed doc comments.
Full Changelog: v0.3.2...v0.3.3
v0.3.2 - Crates.io Fixed
This release fixes issues prior to this version where the derive module was not being properly imported on crates.io
Full Changelog: v0.3.1...v0.3.2
v0.3.1 - Minor Changes
Change Log
- Added
write_type<T>()
andread_type<T>()
to bothio::ByteWriter
andio::ByteReader
- Dramatically improved documentation on crates.io
v0.3.0 - IO Improvements
This version is a major change from v0.2.1
and contains many breaking changes.
Change Log
-
Streamable
has been deprecated in favor ofio::Reader
andio::Writer
-
error
module has been deprecated in favor ofstd::io::Error
-
ByteReader
has been added and replacesBinaryReader
-
ByteWriter
has been added and replacesBinaryWriter
-
u24
, andVarInt
have been completely removed.Note: These may come back in the form of wrapper types.
-
BinaryIo
has been added and replacesBinaryStream
, which is deprecated in this release.Note:
BinaryIo
has new behavior fromBinaryStream
, it is recommended you look at the docs to review the changes.Note: While backwards compatibility for
BinaryStream
was implemented it is worth noting that anything currently implementing this may break if theposition
property is used. -
Un-named fields within
Enums
now qualify forBinaryIo
.This version is a major change fromv0.2.1
and contains many breaking changes.
Commits
- rfc: Improve performance and IO by @Bavfalcon9 in #13
Full Changelog: v0.2.2...v0.3.0
v0.2.2 - Adds support for unnamed fields and fixes a few bugs
v0.2.2-alpha Adds support for Unnamed fields in Enums
v0.2.1 - Error Handling
This release proposes a way to allow the user to handle a binary failure, by returning Result<Ty, BinaryError>
on all read/write operations.
What's Changed
- feat: Add NetrexMC/Netrex/issues/16 by @Bavfalcon9 in #10
Full Changelog: v0.2.0...v0.2.1
v0.2.0 - Macro and Simplification
This release contains a major overhaul to the api. For api docs, please checkout the reference on the wiki or docs.rs.
What's Changed
- V2 by @Bavfalcon9 in #7
- bug-fix(#8): Adds hacks to fix this issue. LE streams should be prope… by @Bavfalcon9 in #9
Full Changelog: v0.1.2...v2.0.0
v0.1.2 - Major Bug Fixes
- Makes a change where signed ints are now default for
read_long
,read_short
,read_var_int
for both read and write. - Fixes an issue with
read_slice
where reading wouldn't be relative to the current offset causing an buffer overflow / underflow. - Fixes an issue where
read_slice
did not increment correctly when using. - Fixes an issue where the primitive types for some methods were incorrect to their naming convention.