pub fn parse_patterns(header: &StmHeader, bytes: &[u8]) -> Vec<StmPattern>Expand description
Parse all STM patterns from the buffer.
Any pattern whose data runs past end-of-file is silently truncated:
unread cells default to StmCell::default(). This matches the
robust-on-truncation policy used by the MOD parser.