Skip to content

v0.3.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 05 Oct 15:55
527a518

ProtocolDataUnits v0.3.0

BREAKING RELEASE

  • Type PDU renamed to AbstractPDU
  • Constant PDU exported as a short version of module ProtocolDataUnits
  • API changed to PDU.encode() and PDU.decode()
  • Auto-truncation and auto-padding disabled (throws exception if length mismatch)
  • Explicit padding can be requested by defining length as PadTo(n)
  • Auto wire-encoded length storage in PDU disabled for vectors (but retained for strings)
  • Wire-encoded length can be requested by defining length as WireEncoded()

Diff since v0.2.0