- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for encodeSingle (0.15 sec)
-
src/encoding/gob/encode.go
switch v.Kind() { case reflect.Invalid: return false case reflect.Pointer: return !v.IsNil() } return true } // encodeSingle encodes a single top-level non-struct value. func (enc *Encoder) encodeSingle(b *encBuffer, engine *encEngine, value reflect.Value) { state := enc.newEncoderState(b) defer enc.freeEncoderState(state) state.fieldnum = singletonField
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 19K bytes - Viewed (0)