func (VarintObjectCodec) ReadObject(stream *bufio.Reader, v interface{}) error {
	b, err := binary.ReadUvarint(stream)
	if err != nil {
		return err
	}
	return json.NewDecoder(io.LimitReader(stream, int64(b))).Decode(v)
}
func (VarintObjectCodec) ReadObject(stream *bufio.Reader, v interface{}) error {
	b, err := binary.ReadUvarint(stream)
	if err != nil {
		return err
	}
	return json.NewDecoder(io.LimitReader(stream, int64(b))).Decode(v)
}
func ( VarintObjectCodec ) ReadObject ( stream * bufio . Reader , v interface { } ) error { b , err := binary . ReadUvarint ( stream ) if err != nil { return err } return json . NewDecoder ( io . LimitReader ( stream , int64 ( b ) ) ) . Decode ( v ) }
// ReadObject implements ObjectCodec.
ReadObject implements ObjectCodec .