Home | History | Annotate | Download | only in gob

Lines Matching refs:Encoding

68 described below, the transmitter sends the value in a variable-length encoding;
97 encoding.BinaryMarshaler interfaces by calling the corresponding method,
101 encoding.BinaryUnmarshaler interfaces by calling the corresponding method,
104 Encoding Details
106 This section documents the encoding, details that are not important for most
137 often zero, this can save encoding bytes. For instance, 17.0 is encoded in only
144 elements using the standard gob encoding for their type, recursively.
155 value is sent using the standard gob encoding for its type, recursively. If a
159 etc. When encoding a value, the field numbers are delta encoded for efficiency
161 therefore unsigned. The initialization for the delta encoding sets the field
173 stored), followed by the usual encoding of concrete (dynamic) value stored in
183 encoding of the value v.
186 pair (-type id, encoded-type) where encoded-type is the gob encoding of a wireType
253 (byteCount (-type id, encoding of a wireType)* (type id, encoding of a value))*
343 // Here starts the encoding of that value.
378 2c // encoding of signed "22" (0x22 = 44 = 22<<1); Point.x = 22
380 42 // encoding of signed "33" (0x42 = 66 = 33<<1); Point.y = 33
383 The type encoding is long and fairly intricate but we send it only once.