Documentation
¶
Index ¶
- Constants
- type Block
- type BlockIdxT
- type DataBlockSize
- type Flags
- func (m Flags) BlockChecksum() bool
- func (m Flags) BlockIndependence() bool
- func (m *Flags) ClrContentChecksum()
- func (m Flags) ContentChecksum() bool
- func (m Flags) ContentSize() bool
- func (m Flags) DictId() bool
- func (m Flags) Reserved() bool
- func (m *Flags) SetBlockChecksum()
- func (m *Flags) SetBlockIndependence()
- func (m *Flags) SetContentChecksum()
- func (m *Flags) SetContentSize()
- func (m *Flags) SetDictId()
- func (m *Flags) SetReserved()
- func (m *Flags) SetVersion(v uint8)
- func (m Flags) Version() uint8
Constants ¶
View Source
const ( BlockIdx64KB BlockIdxT = 4 BlockIdx256KB BlockIdxT = 5 BlockIdx1MB BlockIdxT = 6 BlockIdx4MB BlockIdxT = 7 BlockIdx64KBSz = 64 << 10 BlockIdx256KBSz = 256 << 10 BlockIdx1MBSz = 1 << 20 BlockIdx4MBSz = 4 << 20 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataBlockSize ¶
type DataBlockSize uint32
func (DataBlockSize) EOF ¶
func (s DataBlockSize) EOF() bool
func (*DataBlockSize) SetSize ¶
func (s *DataBlockSize) SetSize(v int)
func (*DataBlockSize) SetUncompressed ¶
func (s *DataBlockSize) SetUncompressed()
func (DataBlockSize) Size ¶
func (s DataBlockSize) Size() int
func (DataBlockSize) Uncompressed ¶
func (s DataBlockSize) Uncompressed() bool
type Flags ¶
type Flags uint8
func (Flags) BlockChecksum ¶
func (Flags) BlockIndependence ¶
func (*Flags) ClrContentChecksum ¶
func (m *Flags) ClrContentChecksum()
func (Flags) ContentChecksum ¶
func (Flags) ContentSize ¶
func (*Flags) SetBlockChecksum ¶
func (m *Flags) SetBlockChecksum()
func (*Flags) SetBlockIndependence ¶
func (m *Flags) SetBlockIndependence()
func (*Flags) SetContentChecksum ¶
func (m *Flags) SetContentChecksum()
func (*Flags) SetContentSize ¶
func (m *Flags) SetContentSize()
func (*Flags) SetReserved ¶
func (m *Flags) SetReserved()
func (*Flags) SetVersion ¶
Click to show internal directories.
Click to hide internal directories.