@tsolomko tsolomko released this Apr 29, 2018 · 6 commits to develop since this release

Assets 3
  • 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 ByteReader (and bit readers, since they are inherited from ByteReader).
  • 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.
  • Small updates to documentation.
Pre-release
Pre-release

@tsolomko tsolomko released this Apr 9, 2018 · 7 commits to develop since this release

Assets 3
  • Updated to Swift 4.1/Xcode 9.3.
  • Reverted change, that explicitly disabled STRIP_INSTALLED_PRODUCT Xcode project setting to workaround Carthage problems with archiving.
  • Small updates to documentation.
Pre-release
Pre-release

@tsolomko tsolomko released this Mar 17, 2018 · 14 commits to develop since this release

Assets 3

In this second test release several precondition checks introduced in the previous test release were corrected, as well as more missing functions were added.

Pre-release
Pre-release

@tsolomko tsolomko released this Mar 14, 2018 · 27 commits to develop since this release

Assets 3

The main purpose of the upcoming 1.2.0 update is to add missing functionality in terms of return types and bit/byte reading.

Also, the current plan is to wait for the 4.1 release of Swift language and only then release 1.2.0 update, so any necessary modifications required by the new version of Swift can be released without delay.

@tsolomko tsolomko released this Mar 4, 2018 · 35 commits to develop since this release

Assets 3
  • Added missing documentation for bitsLeft and bitsRead properties.
  • Temporary disable symbol stripping in Xcode project to prevent symbols being stripped in archives published on GitHub Releases, until Carthage releases an update that solves this issue (these archives are generated by Carthage).

@tsolomko tsolomko released this Mar 2, 2018 · 40 commits to develop since this release

Assets 3
  • Added init(_ byteReader:) initializer to LsbBitReader and MsbBitReader classes (as well as BitReader protocol). It allows to convert ByteReader instance into bit reader while preserving reading offset.
  • Added bitsLeft and bitsRead computed properties to LsbBitReader and MsbBitReader classes (as well as BitReader protocol).

On a side note, I started a new branch where I try some improvements to the API. Depending on their impact on existing functionality and framework-user code they will be either released pretty soon or not (in 2.0.0 version).

Pre-release

@tsolomko tsolomko released this Feb 17, 2018 · 47 commits to develop since this release

Assets 3

In the upcoming 1.1.0 update a new initializer will be added both to LsbBitReader and MsbBitReader which performs conversion from ByteReader.

@tsolomko tsolomko released this Feb 3, 2018 · 52 commits to develop since this release

Assets 3

Fixed several problems which were causing incorrect preconditions failures in some cases.

@tsolomko tsolomko released this Jan 6, 2018 · 59 commits to develop since this release

Assets 3
  • Made behaviour more consistent in situations when there is not enough data left to complete reading operation.
    • Now it is always a precondition failure instead of default out-of-bounds crash.
    • These preconditions are checked at the beginning of reading functions, so no time is wasted doing something that will not succeed.
  • Increased performance of bit(), bits(count:) and int(fromBits:) functions for both LsbBitReader and MsbBitReader.
  • Small updates to documentation.

@tsolomko tsolomko released this Jan 3, 2018 · 70 commits to develop since this release

Assets 3

This is the first release of BitByteData. It includes the following functionality:

  • 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).