Versions in this module Expand all Collapse all v1 v1.0.1 Jun 30, 2026 v1.0.0 Jun 30, 2026 Changes in this version + func IsStandaloneMarker(code byte) bool + func MarkerCodeToName(code byte) string + type Marker struct + Data []byte + Length int + Position int + Type string + type Parser struct + func NewParser(validator Validator) *Parser + func (p *Parser) Parse(data []byte) ([]Marker, error) + type Validator interface + SafeAdd func(a, b int) (int, error) + ValidateMarkerLength func(length int, remaining int) error + ValidatePosition func(pos int, maxPos int) error