Skip to content

Xe.BinaryMapper 1.5.1

Latest
Compare
Choose a tag to compare
@Xeeynamo Xeeynamo released this 27 Jun 14:59
· 6 commits to master since this release

Changelog from 1.4.0 to 1.5.1:

  • Add IBinaryMapping to allow library mocking.
  • Allow to create custom implementations of BinaryMapping
  • Enforce T to have at least a parameter-less constructor.
  • Add big-endian support.
  • Allow to use different string encoding than UTF-8.
  • Fix bug #3 where it was not possible to map multiple member length in a single class.

BREAKING CHANGES:
Version 1.3.0 introduced a BinaryMapping.SetMemberLengthMapping. It was never a good idea, since it was modifying the behaviour of BinaryMapping, which is thread-unsafe. Therefore I moved the member length mapping to MappingConfiguration. Please refer to the updated README for the best practices on how to use it.