Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for recvMessage (0.37 sec)

  1. src/encoding/gob/decoder.go

    	dec.wireType[id] = wire
    }
    
    var errBadCount = errors.New("invalid message length")
    
    // recvMessage reads the next count-delimited item from the input. It is the converse
    // of Encoder.writeMessage. It returns false on EOF or other error reading the message.
    func (dec *Decoder) recvMessage() bool {
    	// Read a count.
    	nbytes, _, err := decodeUintReader(dec.r, dec.countBuf)
    	if err != nil {
    		dec.err = err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 7.2K bytes
    - Viewed (0)
Back to top