Documentation
¶
Index ¶
- func DeflateGzipStream(r io.Reader) (io.Reader, error)
- func DeflateLZ4Stream(r io.Reader) (io.Reader, error)
- func DeflateStream(name string, r io.Reader) (io.Reader, error)
- func InflateGzipStream(r io.Reader) (io.Reader, error)
- func InflateLZ4Stream(r io.Reader) (io.Reader, error)
- func InflateStream(name string, r io.Reader) (io.Reader, error)
- type Configuration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct { Algorithm string Level int // Compression level (-1 for default) WindowSize int // Window size for algorithms like zstd or Brotli ChunkSize int // Chunk size for streaming compression BlockSize int // Block size for block-based algorithms like bzip2 EnableCRC bool // Enable/disable checksum (e.g., gzip CRC32, zstd) }
func LookupDefaultConfiguration ¶
func LookupDefaultConfiguration(algorithm string) (*Configuration, error)
func NewDefaultConfiguration ¶
func NewDefaultConfiguration() *Configuration
Click to show internal directories.
Click to hide internal directories.