Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.67 KB

CHANGELOG.md

File metadata and controls

39 lines (27 loc) · 1.67 KB

Changelog

1.2.0

  • Updated to support Swift 4.1.
  • Added bytesLeft and bytesRead computed properties to ByteReader.
  • Added int(fromBytes:), uint16(fromBytes:), uint32(fromBytes:), and uint64(fromBytes:) functions to all readers.
  • Added byte(fromBits:), uint16(fromBits:), uint32(fromBits:), and uint64(fromBits:) functions to LsbBitReader and MsbBitReader, as well as BitReader protocol.
  • int(fromBits:) function now has a precondition that its argument doesn't exceed Int bit width.
  • Reverted "disable symbol stripping" change from 1.1.1 update, since underlying problem in Carthage was fixed.
  • Minor updates to documentation.

1.1.1

  • Added missing documentation for bitsLeft and bitsRead computed properties.
  • Disable symbol stripping in archives generated by Carthage and published on GitHub Releases.

1.1.0

  • Added converting from ByteReader initializers to LsbBitReader and MsbBitReader, as well as BitReader protocol.
  • Added bitsLeft and bitsRead computed properties to LsbBitReader and MsbBitReader, as well as BitReader protocol.

1.0.2

  • Fix several problems causing incorrect preconditions failures.

1.0.1

  • Increased performance of bit(), bits(count:) and int(fromBits:) functions for both LsbBitReader and MsbBitReader.
  • More consistent behaviour (precondition failures) for situtations when there is not enough data left.
  • Small updates to documentation.

1.0.0

  • ByteReader class for reading bytes.
  • BitReader protocol, LsbBitReader and MsbBitReader classes for reading bits (and bytes).
  • BitWriter protocol, LsbBitWriter and MsbBitWriter classes for writing bits (and bytes).