Home | History | Annotate | Download | only in gob

Lines Matching defs:Decoder

20 // A Decoder manages the receipt of type and data information read from the
22 type Decoder struct {
34 // NewDecoder returns a new decoder that reads from the io.Reader.
37 func NewDecoder(r io.Reader) *Decoder {
38 dec := new(Decoder)
53 func (dec *Decoder) recvType(id typeId) {
74 func (dec *Decoder) recvMessage() bool {
90 func (dec *Decoder) readMessage(nbytes int) {
93 panic("non-empty decoder buffer")
114 func (dec *Decoder) nextInt() int64 {
122 func (dec *Decoder) nextUint() uint64 {
137 func (dec *Decoder) decodeTypeSequence(isInterface bool) typeId {
174 func (dec *Decoder) Decode(e interface{}) error {
194 func (dec *Decoder) DecodeValue(v reflect.Value) error {