Documentation
¶
Index ¶
Constants ¶
View Source
const ( PARSE_LENGTH = iota PARSE_SEPARATOR PARSE_DATA PARSE_END )
View Source
const BUFFER_COUNT = 10
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NetStringDecoder ¶
type NetStringDecoder struct {
DataOutput chan []byte
// contains filtered or unexported fields
}
func NewDecoder ¶
func NewDecoder() NetStringDecoder
Caller receives the parsed parsedData through the output channel.
func (NetStringDecoder) DebugLog ¶
func (decoder NetStringDecoder) DebugLog(v ...interface{})
func (*NetStringDecoder) FeedData ¶
func (decoder *NetStringDecoder) FeedData(data []byte)
func (*NetStringDecoder) SetDebugMode ¶
func (decoder *NetStringDecoder) SetDebugMode(mode bool)
Click to show internal directories.
Click to hide internal directories.