Skip to content

Breech v2.0.0

Latest

Choose a tag to compare

@breadcat-dev breadcat-dev released this 03 Jul 11:58

Added

  • BinaryReader
  • BinaryWriter
  • Internal EndianCodec used by all binary I/O implementations
  • Bitfield.MIN_SIZE
  • Bitfield.MAX_SIZE
  • Constructor validation for Bitfield
  • Position tracking for BinaryReader and BinaryWriter

Fixed

  • Bitfield masking
  • Bitfield.getBit() bounds check
  • BitfieldBuilder constructor bounds validation

Changed

  • Updated to Toolbox v2.1.0
  • Replaced custom primitive size constants with the standard *.BYTES constants
  • Simplified the binary I/O implementation by sharing endian conversion logic
  • Replaced BinaryEndianness with Java's standard java.nio.ByteOrder
  • Renamed Bitfield.getBitsArray() to toBooleanArray()

Removed

  • ByteInputStream
  • ByteOutputStream
  • Bitfield.fromByte(), fromShort(), fromInt() and fromLong()