Versions in this module Expand all Collapse all v0 v0.0.1 Mar 6, 2019 Changes in this version + const BestCompression + const BestSpeed + const DefaultChunkSize + const DefaultCompression + const DefaultIndexSize + const NoCompression + type FlushMode int + const FlushFull + const FlushIndex + const FlushSync + type Reader struct + func NewReader(rs io.ReadSeeker, conf *ReaderConfig) (*Reader, error) + func (xr *Reader) Close() error + func (xr *Reader) Read(buf []byte) (int, error) + func (xr *Reader) Reset(rs io.ReadSeeker) error + func (xr *Reader) Seek(offset int64, whence int) (int64, error) + type ReaderConfig struct + type Writer struct + InputOffset int64 + OutputOffset int64 + func NewWriter(wr io.Writer, conf *WriterConfig) (*Writer, error) + func (xw *Writer) Close() error + func (xw *Writer) Flush(mode FlushMode) error + func (xw *Writer) Reset(wr io.Writer) error + func (xw *Writer) Write(buf []byte) (int, error) + type WriterConfig struct + ChunkSize int64 + IndexSize int64 + Level int