Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbstractDecoder ¶
func (AbstractDecoder) CheckDisposed ¶
func (a AbstractDecoder) CheckDisposed()
func (AbstractDecoder) HasContent ¶
func (a AbstractDecoder) HasContent() bool
type IncUintOptRleDecoder ¶
type IncUintOptRleDecoder struct {
Disposed bool
// contains filtered or unexported fields
}
func NewIncUintOptRleDecoder ¶
func NewIncUintOptRleDecoder(input *bufio.Reader, leaveOpen bool) *IncUintOptRleDecoder
func (IncUintOptRleDecoder) CheckDisposed ¶
func (i IncUintOptRleDecoder) CheckDisposed() error
func (IncUintOptRleDecoder) Read ¶
func (i IncUintOptRleDecoder) Read() uint
func (IncUintOptRleDecoder) ReadV ¶
func (i IncUintOptRleDecoder) ReadV() any
type IntDiffDecoder ¶
type IntDiffDecoder struct {
AbstractDecoder
State int
// contains filtered or unexported fields
}
IntDiffDecoder Basic diff encoder using variable length encoding. Encodes the values <c>[3, 1100, 1101, 1050, 0]</c> to <c>[3, 1097, 1, -51, -1050]</c>. <seealso cref="IntDiffDecoder"/>
func (IntDiffDecoder) Read ¶
func (i IntDiffDecoder) Read() int
type IntDiffOptRleDecoder ¶
type IntDiffOptRleDecoder struct {
AbstractDecoder
Reader *bufio.Reader
State int
Count uint64
Diff int
}
func (IntDiffOptRleDecoder) Read ¶
func (d IntDiffOptRleDecoder) Read() int
type RleDecoder ¶
type RleDecoder struct {
AbstractDecoder
Reader *bufio.Reader
State byte
Count int
}
func (RleDecoder) Read ¶
func (r RleDecoder) Read() byte
type RleIntDiffDecoder ¶
type RleIntDiffDecoder struct {
AbstractDecoder
Reader *bufio.Reader
State int
Count int
}
func (RleIntDiffDecoder) Read ¶
func (r RleIntDiffDecoder) Read() int
type StringDecoder ¶
type StringDecoder struct {
AbstractDecoder
Reader *bufio.Reader
LengthDecoder UintOptRleDecoder
Value string
Pos int
Disposed bool
}
func (StringDecoder) Read ¶
func (s StringDecoder) Read() string
type UintOptRleDecoder ¶
type UintOptRleDecoder struct {
AbstractDecoder
Reader *bufio.Reader
State uint64
Count uint64
}
func (UintOptRleDecoder) Read ¶
func (d UintOptRleDecoder) Read() uint64
Click to show internal directories.
Click to hide internal directories.