Byte array with an `_io` member: format specification

Helper type to work around Kaitai Struct not providing an _io member for plain byte arrays.

KS implementation details

License: MIT

This page hosts a formal specification of Byte array with an `_io` member using Kaitai Struct. This specification can be automatically translated into a variety of programming languages to get a parsing library.

Block diagram

Format specification in Kaitai Struct YAML

meta:
  id: bytes_with_io
  title: Byte array with an `_io` member
  license: MIT
doc: |
  Helper type to work around Kaitai Struct not providing an `_io` member for plain byte arrays.
seq:
  - id: data
    size-eos: true
    doc: The actual data.