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