1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
struct Header { is_last: bool, block_type: BlockType, length: u32 } enum BlockType { STREAMINFO, PADDING, APPLICATION, SEEKTABLE, VORBISCOMMENT, CUESHEET, PICTURE, RESERVED, INVALID }