Contents Menu Expand Light mode Dark mode Auto light/dark mode
bstruct 0.6.1 documentation
bstruct 0.6.1 documentation
  • Quickstart
  • Basics
  • Dynamic Data
  • Create a Custom Encoding
  • Fallback to struct.Struct
  • API
  • License

Project Links

  • GitHub
  • PyPI
Back to top
Edit this page

bstruct#

Simple and efficient binary (de)serialization using type annotations. Supports easy fallback to Python’s built-in struct library for maximum performance.

Contents#

  • Quickstart
  • Basics
    • Strings
    • IntEnum
    • Nested Classes
    • Arrays
  • Dynamic Data
  • Create a Custom Encoding
  • Fallback to struct.Struct
  • API
    • Array
    • BstructError
    • Bytes
    • CustomEncoding
    • Encoding
    • Encodings
    • String
    • compile_format()
    • derive()
  • License

Project Links

  • GitHub
  • PyPI
Next
Quickstart
Copyright © 2022, flxbe
Made with Sphinx and @pradyunsg's Furo
On this page
  • bstruct
    • Contents