adc

package
v1.0.29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const DECOMP_RATIO = 10

DECOMP_RATIO is the output-to-input ratio the original decoder assumed.

Deprecated: the decoder sizes its output from the true worst-case expansion. Kept so existing importers keep compiling; it will be removed in the next major version.

Variables

This section is empty.

Functions

func DecompressADC

func DecompressADC(src []byte) []byte

DecompressADC decompresses Apple Data Compression. Invalid data returns nil. Call DecompressADCInto when the expected output size is known.

func DecompressADCInto

func DecompressADCInto(src, dst []byte) (n int, err error)

DecompressADCInto decompresses src into dst without allocating output memory. It returns io.ErrShortBuffer if dst cannot hold the decoded data.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址