// Caller receives the parsed parsedData through the output channel.
Caller receives the parsed parsedData through the output channel.
// Caller receives the parsed parsedData through the output channel .
func NewDecoder() NetStringDecoder {
	return NetStringDecoder{
		length:          0,
		state:           PARSE_LENGTH,
		DataOutput:      make(chan []byte, BUFFER_COUNT),
		separatorSymbol: byte(':'),
		endSymbol:       byte(','),
		debugMode:       false,
	}
}
func NewDecoder ( ) NetStringDecoder { return NetStringDecoder { length : 0 , state : PARSE_LENGTH , DataOutput : make ( chan [ ] byte , BUFFER_COUNT ) , separatorSymbol : byte ( ':' ) , endSymbol : byte ( ',' ) , debugMode : false , } }
Caller receives the parsed parsedData through the output channel.
Caller receives the parsed parsedData through the output channel .