Exemple #1
0
func (codecType stringCodecType) NewDecoder(r io.Reader) mudoo.Decoder {
	return stringDecoder{
		codecType.Spliter,
		binary.NewReader(r),
	}
}
Exemple #2
0
func (_ selfCodecType) NewDecoder(r io.Reader) mudoo.Decoder {
	return selfDecoder{
		binary.NewReader(r),
	}
}
Exemple #3
0
func (codecType bytesCodecType) NewDecoder(r io.Reader) mudoo.Decoder {
	return bytesDecoder{
		codecType.Spliter,
		binary.NewReader(r),
	}
}