Documentation ¶
Overview ¶
Package rangecoer implements a range coder as per 3.8.1. Range Coding Mode of draft-ietf-cellar-ffv1.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultStateTransition = [256]uint8{}/* 256 elements not displayed */
3.8.1.5. default_state_transition
Functions ¶
This section is empty.
Types ¶
type Coder ¶
type Coder struct {
// contains filtered or unexported fields
}
Coder is an instance of a range coder, as defined in:
Nigel, G. and N. Martin, "Range encoding: an algorithm for removing redundancy from a digitised message.", July 1979.
func (*Coder) SentinalEnd ¶
func (c *Coder) SentinalEnd()
SentinalEnd ends the current range coder.
See: 3.8.1.1.1. Termination
- Sentinal Mode
Click to show internal directories.
Click to hide internal directories.