Documentation
¶
Index ¶
- type Entry12
- func (e *Entry12) Decode() (lo uint16, hi uint8)
- func (e *Entry12) Encode(lo uint16, hi uint8)
- func (e *Entry12) ExtractFrom(b []byte) []byte
- func (e *Entry12) ExtractFromString(s string) string
- func (e *Entry12) Hi() uint8
- func (e *Entry12) Lo() uint16
- func (e *Entry12) Reset()
- func (e *Entry12) String() string
- type Entry16
- type Entry24
- func (e *Entry24) Decode() (lo uint32, hi uint8)
- func (e *Entry24) Encode(lo uint32, hi uint8)
- func (e *Entry24) ExtractFrom(b []byte) []byte
- func (e *Entry24) ExtractFromString(s string) string
- func (e *Entry24) Hi() uint8
- func (e *Entry24) Lo() uint32
- func (e *Entry24) Reset()
- func (e *Entry24) String() string
- type Entry32
- func (e *Entry32) Decode() (lo, hi uint16)
- func (e *Entry32) Encode(lo, hi uint16)
- func (e *Entry32) ExtractFrom(b []byte) []byte
- func (e *Entry32) ExtractFromString(s string) string
- func (e *Entry32) Hi() uint16
- func (e *Entry32) Lo() uint16
- func (e *Entry32) Reset()
- func (e *Entry32) String() string
- type Entry48
- func (e *Entry48) Decode() (lo uint64, hi uint16)
- func (e *Entry48) Encode(lo uint64, hi uint16)
- func (e *Entry48) ExtractFrom(b []byte) []byte
- func (e *Entry48) ExtractFromString(s string) string
- func (e *Entry48) Hi() uint16
- func (e *Entry48) Lo() uint64
- func (e *Entry48) Reset()
- func (e *Entry48) String() string
- type Entry64
- func (e *Entry64) Decode() (lo, hi uint32)
- func (e *Entry64) Encode(lo, hi uint32) Entry64
- func (e *Entry64) ExtractFrom(b []byte) []byte
- func (e *Entry64) ExtractFromString(s string) string
- func (e *Entry64) Hi() uint32
- func (e *Entry64) Lo() uint32
- func (e *Entry64) Reset()
- func (e *Entry64) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry12 ¶
type Entry12 uint16
Entry12 compacts uint12 lo and uint4 hi values.
func NewEntry12 ¶ added in v1.0.2
func (*Entry12) ExtractFrom ¶ added in v1.0.3
ExtractFrom takes [lo:hi] subslice from b.
func (*Entry12) ExtractFromString ¶ added in v1.0.3
ExtractFromString takes [lo:hi] substring from s.
type Entry16 ¶
type Entry16 uint16
Entry16 compacts uint8 lo/hi values.
func NewEntry16 ¶ added in v1.0.2
func (*Entry16) ExtractFrom ¶ added in v1.0.3
ExtractFrom takes [lo:hi] subslice from b.
func (*Entry16) ExtractFromString ¶ added in v1.0.3
ExtractFromString takes [lo:hi] substring from s.
type Entry24 ¶
type Entry24 uint32
Entry24 compacts uint24 lo and uint8 hi values.
func NewEntry24 ¶ added in v1.0.2
func (*Entry24) ExtractFrom ¶ added in v1.0.3
ExtractFrom takes [lo:hi] subslice from b.
func (*Entry24) ExtractFromString ¶ added in v1.0.3
ExtractFromString takes [lo:hi] substring from s.
type Entry32 ¶
type Entry32 uint32
Entry32 compacts uint16 lo/hi values.
func NewEntry32 ¶ added in v1.0.2
func (*Entry32) ExtractFrom ¶ added in v1.0.3
ExtractFrom takes [lo:hi] subslice from b.
func (*Entry32) ExtractFromString ¶ added in v1.0.3
ExtractFromString takes [lo:hi] substring from s.
type Entry48 ¶
type Entry48 uint64
Entry48 compacts uint64 lo and uint16 hi values.
func NewEntry48 ¶ added in v1.0.2
func (*Entry48) ExtractFrom ¶ added in v1.0.3
ExtractFrom takes [lo:hi] subslice from b.
func (*Entry48) ExtractFromString ¶ added in v1.0.3
ExtractFromString takes [lo:hi] substring from s.
type Entry64 ¶
type Entry64 uint64
Entry64 compacts uint32 lo/hi values.
func NewEntry64 ¶ added in v1.0.2
func (*Entry64) ExtractFrom ¶ added in v1.0.3
ExtractFrom takes [lo:hi] subslice from b.
func (*Entry64) ExtractFromString ¶ added in v1.0.3
ExtractFromString takes [lo:hi] substring from s.