Documentation
¶
Overview ¶
Package qoa provides a bounded adapter around Karty's pinned QOA codec. It validates the complete file before handing bytes to the dependency.
Index ¶
Constants ¶
View Source
const (
MaxEncodedBytes = 8 * 1024 * 1024
)
Variables ¶
View Source
var ErrInvalid = errors.New("QOA data is invalid")
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
Metadata describes bounded, static QOA content. Frames is the number of samples per channel; DecodedBytes is interleaved signed PCM16 storage.
func Decode ¶
Decode returns interleaved signed PCM16 only after Inspect has established safe allocation and frame bounds.
Click to show internal directories.
Click to hide internal directories.