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