SYMBOL INDEX (674 symbols across 128 files) FILE: crash_test.go function TestCrashBinary (line 16) | func TestCrashBinary(t *testing.T) { function check (line 38) | func check(t *testing.T, wg *sync.WaitGroup, ch <-chan string) { FILE: decode.go function UnmarshalAsMap (line 12) | func UnmarshalAsMap(data []byte, v interface{}) error { function UnmarshalAsArray (line 18) | func UnmarshalAsArray(data []byte, v interface{}) error { function UnmarshalReadAsMap (line 24) | func UnmarshalReadAsMap(r io.Reader, v interface{}) error { function UnmarshalReadAsArray (line 30) | func UnmarshalReadAsArray(r io.Reader, v interface{}) error { FILE: def/def.go constant IntSize (line 4) | IntSize = 32 << (^uint(0) >> 63) constant PositiveFixIntMin (line 10) | PositiveFixIntMin = 0x00 constant PositiveFixIntMax (line 11) | PositiveFixIntMax = 0x7f constant FixMap (line 13) | FixMap = 0x80 constant FixArray (line 14) | FixArray = 0x90 constant FixStr (line 15) | FixStr = 0xa0 constant Nil (line 17) | Nil = 0xc0 constant False (line 19) | False = 0xc2 constant True (line 20) | True = 0xc3 constant Bin8 (line 22) | Bin8 = 0xc4 constant Bin16 (line 23) | Bin16 = 0xc5 constant Bin32 (line 24) | Bin32 = 0xc6 constant Ext8 (line 26) | Ext8 = 0xc7 constant Ext16 (line 27) | Ext16 = 0xc8 constant Ext32 (line 28) | Ext32 = 0xc9 constant Float32 (line 30) | Float32 = 0xca constant Float64 (line 31) | Float64 = 0xcb constant Uint8 (line 33) | Uint8 = 0xcc constant Uint16 (line 34) | Uint16 = 0xcd constant Uint32 (line 35) | Uint32 = 0xce constant Uint64 (line 36) | Uint64 = 0xcf constant Int8 (line 38) | Int8 = 0xd0 constant Int16 (line 39) | Int16 = 0xd1 constant Int32 (line 40) | Int32 = 0xd2 constant Int64 (line 41) | Int64 = 0xd3 constant Fixext1 (line 43) | Fixext1 = 0xd4 constant Fixext2 (line 44) | Fixext2 = 0xd5 constant Fixext4 (line 45) | Fixext4 = 0xd6 constant Fixext8 (line 46) | Fixext8 = 0xd7 constant Fixext16 (line 47) | Fixext16 = 0xd8 constant Str8 (line 49) | Str8 = 0xd9 constant Str16 (line 50) | Str16 = 0xda constant Str32 (line 51) | Str32 = 0xdb constant Array16 (line 53) | Array16 = 0xdc constant Array32 (line 54) | Array32 = 0xdd constant Map16 (line 56) | Map16 = 0xde constant Map32 (line 57) | Map32 = 0xdf constant NegativeFixintMin (line 59) | NegativeFixintMin = -32 constant NegativeFixintMax (line 60) | NegativeFixintMax = -1 constant Byte1 (line 65) | Byte1 = 1 << iota constant Byte2 (line 66) | Byte2 constant Byte4 (line 67) | Byte4 constant Byte8 (line 68) | Byte8 constant Byte16 (line 69) | Byte16 constant Byte32 (line 70) | Byte32 constant TimeStamp (line 75) | TimeStamp = -1 function ComplexTypeCode (line 82) | func ComplexTypeCode() int8 { return complexTypeCode } function SetComplexTypeCode (line 85) | func SetComplexTypeCode(code int8) { FILE: encode.go function MarshalAsMap (line 12) | func MarshalAsMap(v interface{}) ([]byte, error) { function MarshalAsArray (line 18) | func MarshalAsArray(v interface{}) ([]byte, error) { function MarshalWriteAsMap (line 24) | func MarshalWriteAsMap(w io.Writer, v interface{}) error { function MarshalWriteAsArray (line 30) | func MarshalWriteAsArray(w io.Writer, v interface{}) error { FILE: ext/decode.go type Decoder (line 12) | type Decoder interface type DecoderCommon (line 26) | type DecoderCommon struct method ReadSize1 (line 30) | func (cd *DecoderCommon) ReadSize1(index int, d *[]byte) (byte, int) { method ReadSize2 (line 37) | func (cd *DecoderCommon) ReadSize2(index int, d *[]byte) ([]byte, int) { method ReadSize4 (line 44) | func (cd *DecoderCommon) ReadSize4(index int, d *[]byte) ([]byte, int) { method ReadSize8 (line 51) | func (cd *DecoderCommon) ReadSize8(index int, d *[]byte) ([]byte, int) { method ReadSizeN (line 58) | func (cd *DecoderCommon) ReadSizeN(index, n int, d *[]byte) ([]byte, i... FILE: ext/decoder_stream.go type StreamDecoder (line 10) | type StreamDecoder interface FILE: ext/encode.go type Encoder (line 10) | type Encoder interface type EncoderCommon (line 29) | type EncoderCommon struct method SetByte1Int64 (line 33) | func (c *EncoderCommon) SetByte1Int64(value int64, offset int, d *[]by... method SetByte2Int64 (line 40) | func (c *EncoderCommon) SetByte2Int64(value int64, offset int, d *[]by... method SetByte4Int64 (line 48) | func (c *EncoderCommon) SetByte4Int64(value int64, offset int, d *[]by... method SetByte8Int64 (line 58) | func (c *EncoderCommon) SetByte8Int64(value int64, offset int, d *[]by... method SetByte1Uint64 (line 72) | func (c *EncoderCommon) SetByte1Uint64(value uint64, offset int, d *[]... method SetByte2Uint64 (line 79) | func (c *EncoderCommon) SetByte2Uint64(value uint64, offset int, d *[]... method SetByte4Uint64 (line 87) | func (c *EncoderCommon) SetByte4Uint64(value uint64, offset int, d *[]... method SetByte8Uint64 (line 97) | func (c *EncoderCommon) SetByte8Uint64(value uint64, offset int, d *[]... method SetByte1Int (line 111) | func (c *EncoderCommon) SetByte1Int(code, offset int, d *[]byte) int { method SetByte2Int (line 118) | func (c *EncoderCommon) SetByte2Int(value int, offset int, d *[]byte) ... method SetByte4Int (line 126) | func (c *EncoderCommon) SetByte4Int(value int, offset int, d *[]byte) ... method SetByte4Uint32 (line 136) | func (c *EncoderCommon) SetByte4Uint32(value uint32, offset int, d *[]... method SetBytes (line 146) | func (c *EncoderCommon) SetBytes(bs []byte, offset int, d *[]byte) int { FILE: ext/encode_stream.go type StreamEncoder (line 12) | type StreamEncoder interface type StreamWriter (line 23) | type StreamWriter struct method WriteByte1Int64 (line 34) | func (w *StreamWriter) WriteByte1Int64(value int64) error { method WriteByte2Int64 (line 41) | func (w *StreamWriter) WriteByte2Int64(value int64) error { method WriteByte4Int64 (line 49) | func (w *StreamWriter) WriteByte4Int64(value int64) error { method WriteByte8Int64 (line 59) | func (w *StreamWriter) WriteByte8Int64(value int64) error { method WriteByte1Uint64 (line 73) | func (w *StreamWriter) WriteByte1Uint64(value uint64) error { method WriteByte2Uint64 (line 80) | func (w *StreamWriter) WriteByte2Uint64(value uint64) error { method WriteByte4Uint64 (line 88) | func (w *StreamWriter) WriteByte4Uint64(value uint64) error { method WriteByte8Uint64 (line 98) | func (w *StreamWriter) WriteByte8Uint64(value uint64) error { method WriteByte1Int (line 112) | func (w *StreamWriter) WriteByte1Int(value int) error { method WriteByte2Int (line 119) | func (w *StreamWriter) WriteByte2Int(value int) error { method WriteByte4Int (line 127) | func (w *StreamWriter) WriteByte4Int(value int) error { method WriteByte4Uint32 (line 137) | func (w *StreamWriter) WriteByte4Uint32(value uint32) error { method WriteBytes (line 147) | func (w *StreamWriter) WriteBytes(bs []byte) error { function CreateStreamWriter (line 29) | func CreateStreamWriter(w io.Writer, buf *common.Buffer) StreamWriter { FILE: internal/common/buffer.go type Buffer (line 8) | type Buffer struct method Write (line 18) | func (b *Buffer) Write(w io.Writer, vs ...byte) error { method Flush (line 36) | func (b *Buffer) Flush(w io.Writer) error { function GetBuffer (line 55) | func GetBuffer() *Buffer { function PutBuffer (line 61) | func PutBuffer(buf *Buffer) { FILE: internal/common/common.go type Common (line 9) | type Common struct method CollectFields (line 22) | func (c *Common) CollectFields(t reflect.Type, path []int) []FieldInfo { method collectFields (line 26) | func (c *Common) collectFields(t reflect.Type, path []int, omitPaths [... method deduplicateFields (line 104) | func (c *Common) deduplicateFields(fields []FieldInfo) []FieldInfo { method CheckField (line 166) | func (c *Common) CheckField(field reflect.StructField) (public, omit b... method isPublic (line 195) | func (c *Common) isPublic(name string) bool { type FieldInfo (line 12) | type FieldInfo struct function appendOmitPath (line 92) | func appendOmitPath(paths [][]int, path []int) [][]int { FILE: internal/common/common_test.go function TestCommon_CheckField (line 10) | func TestCommon_CheckField(t *testing.T) { FILE: internal/common/testutil/reader.go type ErrReader (line 10) | type ErrReader struct method Read (line 16) | func (ErrReader) Read(_ []byte) (int, error) { function NewErrReader (line 12) | func NewErrReader() *ErrReader { type TestReader (line 20) | type TestReader struct method Read (line 30) | func (r *TestReader) Read(b []byte) (n int, err error) { method Count (line 40) | func (r *TestReader) Count() int { function NewTestReader (line 26) | func NewTestReader(b []byte) *TestReader { FILE: internal/common/testutil/struct.go function CreateStruct (line 12) | func CreateStruct(fieldNum int) (v any, asMapBytes []byte, asArrayBytes ... FILE: internal/common/testutil/testutil.go function NoError (line 10) | func NoError(t *testing.T, err error) { function Error (line 17) | func Error(t *testing.T, err error) { function IsError (line 24) | func IsError(t *testing.T, actual, expected error) { function ErrorContains (line 31) | func ErrorContains(t *testing.T, err error, errStr string) { function Equal (line 41) | func Equal[T any](t *testing.T, actual, expected T) { function EqualSlice (line 48) | func EqualSlice[T comparable](t *testing.T, actual, expected []T) { function EqualMap (line 72) | func EqualMap[K comparable, V comparable](t *testing.T, actual, expected... type Equaler (line 84) | type Equaler interface function EqualEqualer (line 88) | func EqualEqualer[T Equaler[T]](t *testing.T, actual, expected T) { FILE: internal/decoding/bin.go method isCodeBin (line 11) | func (d *decoder) isCodeBin(v byte) bool { method asBin (line 19) | func (d *decoder) asBin(offset int, k reflect.Kind) ([]byte, int, error) { method asBinString (line 61) | func (d *decoder) asBinString(offset int, k reflect.Kind) (string, int, ... FILE: internal/decoding/bin_test.go function Test_isCodeBin (line 11) | func Test_isCodeBin(t *testing.T) { function Test_asBin (line 20) | func Test_asBin(t *testing.T) { FILE: internal/decoding/bool.go method asBool (line 9) | func (d *decoder) asBool(offset int, k reflect.Kind) (bool, int, error) { FILE: internal/decoding/bool_test.go function Test_asBool (line 10) | func Test_asBool(t *testing.T) { FILE: internal/decoding/complex.go method asComplex64 (line 12) | func (d *decoder) asComplex64(offset int, k reflect.Kind) (complex64, in... method asComplex128 (line 64) | func (d *decoder) asComplex128(offset int, k reflect.Kind) (complex128, ... FILE: internal/decoding/complex_test.go function Test_asComplex64 (line 10) | func Test_asComplex64(t *testing.T) { function Test_asComplex128 (line 82) | func Test_asComplex128(t *testing.T) { FILE: internal/decoding/decoding.go type decoder (line 11) | type decoder struct method decode (line 42) | func (d *decoder) decode(rv reflect.Value, offset int) (int, error) { method errorTemplate (line 341) | func (d *decoder) errorTemplate(code byte, k reflect.Kind) error { function Decode (line 19) | func Decode(data []byte, v interface{}, asArray bool) error { FILE: internal/decoding/decoding_test.go type AsXXXTestCase (line 11) | type AsXXXTestCase struct type AsXXXTestCases (line 20) | type AsXXXTestCases method Run (line 22) | func (tcs AsXXXTestCases[T]) Run(t *testing.T) { method Run (line 28) | func (tc *AsXXXTestCase[T]) Run(t *testing.T) { function TestDecoding (line 63) | func TestDecoding(t *testing.T) { function Test_decodeWithCode (line 81) | func Test_decodeWithCode(t *testing.T) { FILE: internal/decoding/ext.go function AddExtDecoder (line 17) | func AddExtDecoder(f ext.Decoder) { function RemoveExtDecoder (line 31) | func RemoveExtDecoder(f ext.Decoder) { function updateExtCoders (line 44) | func updateExtCoders() { method extEndOffset (line 53) | func (d *decoder) extEndOffset(offset int) (bool, int, error) { method extEndOffsetWithCode (line 61) | func (d *decoder) extEndOffsetWithCode(code byte, offset int) (bool, int... FILE: internal/decoding/ext_test.go function Test_AddExtDecoder (line 12) | func Test_AddExtDecoder(t *testing.T) { function Test_RemoveExtDecoder (line 19) | func Test_RemoveExtDecoder(t *testing.T) { type trackingExtDecoder (line 26) | type trackingExtDecoder struct method Code (line 31) | func (td *trackingExtDecoder) Code() int8 { method IsType (line 35) | func (td *trackingExtDecoder) IsType(_ int, _ *[]byte) bool { method AsValue (line 40) | func (td *trackingExtDecoder) AsValue(_ int, _ reflect.Kind, _ *[]byte... function TestExtValidationRejectsTruncatedBytesBeforeCustomDecoders (line 45) | func TestExtValidationRejectsTruncatedBytesBeforeCustomDecoders(t *testi... FILE: internal/decoding/float.go method asFloat32 (line 11) | func (d *decoder) asFloat32(offset int, k reflect.Kind) (float32, int, e... method asFloat64 (line 48) | func (d *decoder) asFloat64(offset int, k reflect.Kind) (float64, int, e... FILE: internal/decoding/float_test.go function Test_asFloat32 (line 10) | func Test_asFloat32(t *testing.T) { function Test_asFloat64 (line 157) | func Test_asFloat64(t *testing.T) { FILE: internal/decoding/int.go method isPositiveFixNum (line 10) | func (d *decoder) isPositiveFixNum(v byte) bool { method isNegativeFixNum (line 14) | func (d *decoder) isNegativeFixNum(v byte) bool { method asInt (line 18) | func (d *decoder) asInt(offset int, k reflect.Kind) (int64, int, error) { FILE: internal/decoding/int_test.go function Test_asInt (line 10) | func Test_asInt(t *testing.T) { FILE: internal/decoding/interface.go method asInterface (line 10) | func (d *decoder) asInterface(offset int, k reflect.Kind) (interface{}, ... method canSetAsMapKey (line 184) | func (d *decoder) canSetAsMapKey(index int) error { FILE: internal/decoding/interface_test.go function Test_asInterfaceWithCode (line 12) | func Test_asInterfaceWithCode(t *testing.T) { type testExt2Decoder (line 173) | type testExt2Decoder struct method Code (line 179) | func (td *testExt2Decoder) Code() int8 { method IsType (line 183) | func (td *testExt2Decoder) IsType(o int, d *[]byte) bool { method AsValue (line 195) | func (td *testExt2Decoder) AsValue(_ int, _ reflect.Kind, _ *[]byte) (... FILE: internal/decoding/map.go method isFixMap (line 57) | func (d *decoder) isFixMap(v byte) bool { method mapLength (line 61) | func (d *decoder) mapLength(offset int, k reflect.Kind) (int, int, error) { method hasRequiredLeastMapSize (line 87) | func (d *decoder) hasRequiredLeastMapSize(offset, length int) error { method asFixedMap (line 95) | func (d *decoder) asFixedMap(rv reflect.Value, offset int, l int) (int, ... FILE: internal/decoding/map_test.go function Test_mapLength (line 13) | func Test_mapLength(t *testing.T) { function Test_asFixedMap_StringInt (line 64) | func Test_asFixedMap_StringInt(t *testing.T) { function Test_asFixedMap_StringUint (line 114) | func Test_asFixedMap_StringUint(t *testing.T) { function Test_asFixedMap_StringFloat (line 164) | func Test_asFixedMap_StringFloat(t *testing.T) { function Test_asFixedMap_StringBool (line 205) | func Test_asFixedMap_StringBool(t *testing.T) { function Test_asFixedMap_StringString (line 243) | func Test_asFixedMap_StringString(t *testing.T) { function Test_asFixedMap_IntString (line 281) | func Test_asFixedMap_IntString(t *testing.T) { function Test_asFixedMap_IntBool (line 331) | func Test_asFixedMap_IntBool(t *testing.T) { function Test_asFixedMap_UintString (line 381) | func Test_asFixedMap_UintString(t *testing.T) { function Test_asFixedMap_UintBool (line 431) | func Test_asFixedMap_UintBool(t *testing.T) { function Test_asFixedMap_FloatString (line 481) | func Test_asFixedMap_FloatString(t *testing.T) { function Test_asFixedMap_FloatBool (line 522) | func Test_asFixedMap_FloatBool(t *testing.T) { FILE: internal/decoding/nil.go method isCodeNil (line 5) | func (d *decoder) isCodeNil(v byte) bool { FILE: internal/decoding/read.go method readSize1 (line 7) | func (d *decoder) readSize1(index int) (byte, int, error) { method readSize2 (line 15) | func (d *decoder) readSize2(index int) ([]byte, int, error) { method readSize4 (line 19) | func (d *decoder) readSize4(index int) ([]byte, int, error) { method readSize8 (line 23) | func (d *decoder) readSize8(index int) ([]byte, int, error) { method readSizeN (line 27) | func (d *decoder) readSizeN(index, n int) ([]byte, int, error) { FILE: internal/decoding/slice.go method isFixSlice (line 31) | func (d *decoder) isFixSlice(v byte) bool { method sliceLength (line 35) | func (d *decoder) sliceLength(offset int, k reflect.Kind) (int, int, err... method hasRequiredLeastSliceSize (line 60) | func (d *decoder) hasRequiredLeastSliceSize(offset, length int) error { method asFixedSlice (line 68) | func (d *decoder) asFixedSlice(rv reflect.Value, offset int, l int) (int... FILE: internal/decoding/slice_test.go function Test_sliceLength (line 12) | func Test_sliceLength(t *testing.T) { function Test_asFixedSlice_Int (line 63) | func Test_asFixedSlice_Int(t *testing.T) { function Test_asFixedSlice_Int8 (line 92) | func Test_asFixedSlice_Int8(t *testing.T) { function Test_asFixedSlice_Int16 (line 123) | func Test_asFixedSlice_Int16(t *testing.T) { function Test_asFixedSlice_Int32 (line 152) | func Test_asFixedSlice_Int32(t *testing.T) { function Test_asFixedSlice_Int64 (line 181) | func Test_asFixedSlice_Int64(t *testing.T) { function Test_asFixedSlice_Uint (line 210) | func Test_asFixedSlice_Uint(t *testing.T) { function Test_asFixedSlice_Uint8 (line 239) | func Test_asFixedSlice_Uint8(t *testing.T) { function Test_asFixedSlice_Uint16 (line 268) | func Test_asFixedSlice_Uint16(t *testing.T) { function Test_asFixedSlice_Uint32 (line 297) | func Test_asFixedSlice_Uint32(t *testing.T) { function Test_asFixedSlice_Uint64 (line 326) | func Test_asFixedSlice_Uint64(t *testing.T) { function Test_asFixedSlice_Float32 (line 355) | func Test_asFixedSlice_Float32(t *testing.T) { function Test_asFixedSlice_Float64 (line 384) | func Test_asFixedSlice_Float64(t *testing.T) { function Test_asFixedSlice_String (line 413) | func Test_asFixedSlice_String(t *testing.T) { function Test_asFixedSlice_Bool (line 442) | func Test_asFixedSlice_Bool(t *testing.T) { FILE: internal/decoding/string.go method isCodeString (line 15) | func (d *decoder) isCodeString(code byte) bool { method isFixString (line 19) | func (d *decoder) isFixString(v byte) bool { method stringByteLength (line 23) | func (d *decoder) stringByteLength(offset int, k reflect.Kind) (int, int... method asString (line 56) | func (d *decoder) asString(offset int, k reflect.Kind) (string, int, err... method asStringByte (line 64) | func (d *decoder) asStringByte(offset int, k reflect.Kind) ([]byte, int,... method asStringByteByLength (line 73) | func (d *decoder) asStringByteByLength(offset int, l int, k reflect.Kind... FILE: internal/decoding/string_test.go function Test_stringByteLength (line 11) | func Test_stringByteLength(t *testing.T) { function Test_asString (line 81) | func Test_asString(t *testing.T) { function Test_asStringByte (line 102) | func Test_asStringByte(t *testing.T) { FILE: internal/decoding/struct.go type structCacheTypeMap (line 11) | type structCacheTypeMap struct type structCacheTypeArray (line 24) | type structCacheTypeArray struct function getFieldByPath (line 43) | func getFieldByPath(rv reflect.Value, path []int, allowAlloc bool) (refl... method setStruct (line 61) | func (d *decoder) setStruct(rv reflect.Value, offset int, k reflect.Kind... method setStructFromArray (line 100) | func (d *decoder) setStructFromArray(rv reflect.Value, offset int, k ref... method setStructFromMap (line 182) | func (d *decoder) setStructFromMap(rv reflect.Value, offset int, k refle... method jumpOffset (line 313) | func (d *decoder) jumpOffset(offset int) (int, error) { FILE: internal/decoding/struct_test.go function Test_setStruct_ext (line 12) | func Test_setStruct_ext(t *testing.T) { function Test_setStructFromMap (line 46) | func Test_setStructFromMap(t *testing.T) { function Test_setStructFromArray (line 104) | func Test_setStructFromArray(t *testing.T) { function Test_jumpOffset (line 156) | func Test_jumpOffset(t *testing.T) { FILE: internal/decoding/uint.go method asUint (line 10) | func (d *decoder) asUint(offset int, k reflect.Kind) (uint64, int, error) { FILE: internal/decoding/uint_test.go function Test_asUint (line 11) | func Test_asUint(t *testing.T) { FILE: internal/encoding/bool.go method writeBool (line 9) | func (e *encoder) writeBool(v bool, offset int) int { FILE: internal/encoding/byte.go method isByteSlice (line 13) | func (e *encoder) isByteSlice(rv reflect.Value) bool { method calcByteSlice (line 17) | func (e *encoder) calcByteSlice(l int) (int, error) { method writeByteSliceLength (line 29) | func (e *encoder) writeByteSliceLength(l int, offset int) int { FILE: internal/encoding/byte_test.go function Test_calcByteSlice (line 11) | func Test_calcByteSlice(t *testing.T) { FILE: internal/encoding/complex.go method calcComplex64 (line 9) | func (e *encoder) calcComplex64() int { method calcComplex128 (line 13) | func (e *encoder) calcComplex128() int { method writeComplex64 (line 17) | func (e *encoder) writeComplex64(v complex64, offset int) int { method writeComplex128 (line 25) | func (e *encoder) writeComplex128(v complex128, offset int) int { FILE: internal/encoding/encoding.go type encoder (line 12) | type encoder struct method calcSize (line 65) | func (e *encoder) calcSize(rv reflect.Value) (int, error) { method calcLength (line 243) | func (e *encoder) calcLength(l int) (int, error) { method create (line 255) | func (e *encoder) create(rv reflect.Value, offset int) int { function Encode (line 21) | func Encode(v interface{}, asArray bool) (b []byte, err error) { FILE: internal/encoding/encoding_test.go function TestEncode (line 13) | func TestEncode(t *testing.T) { function Test_encode (line 23) | func Test_encode(t *testing.T) { function Test_calcLength (line 226) | func Test_calcLength(t *testing.T) { FILE: internal/encoding/ext.go function AddExtEncoder (line 16) | func AddExtEncoder(f ext.Encoder) { function RemoveExtEncoder (line 30) | func RemoveExtEncoder(f ext.Encoder) { function updateExtCoders (line 43) | func updateExtCoders() { FILE: internal/encoding/ext_test.go function Test_AddExtEncoder (line 10) | func Test_AddExtEncoder(t *testing.T) { function Test_RemoveExtEncoder (line 17) | func Test_RemoveExtEncoder(t *testing.T) { FILE: internal/encoding/float.go method calcFloat32 (line 9) | func (e *encoder) calcFloat32(_ float64) int { method calcFloat64 (line 13) | func (e *encoder) calcFloat64(_ float64) int { method writeFloat32 (line 17) | func (e *encoder) writeFloat32(v float64, offset int) int { method writeFloat64 (line 23) | func (e *encoder) writeFloat64(v float64, offset int) int { FILE: internal/encoding/int.go method isNegativeFixInt64 (line 9) | func (e *encoder) isNegativeFixInt64(v int64) bool { method calcInt (line 13) | func (e *encoder) calcInt(v int64) int { method writeInt (line 29) | func (e *encoder) writeInt(v int64, offset int) int { FILE: internal/encoding/map.go method calcFixedMap (line 10) | func (e *encoder) calcFixedMap(rv reflect.Value) (int, bool) { method writeMapLength (line 298) | func (e *encoder) writeMapLength(l int, offset int) int { method writeFixedMap (line 312) | func (e *encoder) writeFixedMap(rv reflect.Value, offset int) (int, bool) { FILE: internal/encoding/nil.go method writeNil (line 5) | func (e *encoder) writeNil(offset int) int { FILE: internal/encoding/set.go method setByte1Int64 (line 3) | func (e *encoder) setByte1Int64(value int64, offset int) int { method setByte2Int64 (line 8) | func (e *encoder) setByte2Int64(value int64, offset int) int { method setByte4Int64 (line 14) | func (e *encoder) setByte4Int64(value int64, offset int) int { method setByte8Int64 (line 22) | func (e *encoder) setByte8Int64(value int64, offset int) int { method setByte1Uint64 (line 34) | func (e *encoder) setByte1Uint64(value uint64, offset int) int { method setByte2Uint64 (line 39) | func (e *encoder) setByte2Uint64(value uint64, offset int) int { method setByte4Uint64 (line 45) | func (e *encoder) setByte4Uint64(value uint64, offset int) int { method setByte8Uint64 (line 53) | func (e *encoder) setByte8Uint64(value uint64, offset int) int { method setByte1Int (line 65) | func (e *encoder) setByte1Int(code, offset int) int { method setByte2Int (line 70) | func (e *encoder) setByte2Int(value int, offset int) int { method setByte4Int (line 76) | func (e *encoder) setByte4Int(value int, offset int) int { method setBytes (line 84) | func (e *encoder) setBytes(bs []byte, offset int) int { FILE: internal/encoding/slice.go method calcFixedSlice (line 10) | func (e *encoder) calcFixedSlice(rv reflect.Value) (int, bool) { method writeSliceLength (line 115) | func (e *encoder) writeSliceLength(l int, offset int) int { method writeFixedSlice (line 129) | func (e *encoder) writeFixedSlice(rv reflect.Value, offset int) (int, bo... FILE: internal/encoding/slice_test.go function Test_FixedSlice (line 10) | func Test_FixedSlice(t *testing.T) { FILE: internal/encoding/string.go method calcString (line 10) | func (e *encoder) calcString(v string) int { method writeString (line 25) | func (e *encoder) writeString(str string, offset int) int { FILE: internal/encoding/struct.go type structCache (line 12) | type structCache struct type structCalcFunc (line 34) | type structCalcFunc type structWriteFunc (line 35) | type structWriteFunc function getFieldByPath (line 40) | func getFieldByPath(rv reflect.Value, path []int) (reflect.Value, bool) { function shouldOmitByParent (line 55) | func shouldOmitByParent(rv reflect.Value, omitPaths [][]int) bool { method getStructCalc (line 65) | func (e *encoder) getStructCalc(typ reflect.Type) structCalcFunc { method calcStruct (line 77) | func (e *encoder) calcStruct(rv reflect.Value) (int, error) { method calcStructArray (line 95) | func (e *encoder) calcStructArray(rv reflect.Value) (int, error) { method calcStructMap (line 169) | func (e *encoder) calcStructMap(rv reflect.Value) (int, error) { method calcSizeWithOmitEmpty (line 246) | func (e *encoder) calcSizeWithOmitEmpty(rv reflect.Value, name string, o... method getStructWriter (line 260) | func (e *encoder) getStructWriter(typ reflect.Type) structWriteFunc { method writeStruct (line 275) | func (e *encoder) writeStruct(rv reflect.Value, offset int) int { method writeStructArray (line 294) | func (e *encoder) writeStructArray(rv reflect.Value, offset int) int { method writeStructMap (line 332) | func (e *encoder) writeStructMap(rv reflect.Value, offset int) int { FILE: internal/encoding/struct_test.go function Test_calcStructArray (line 12) | func Test_calcStructArray(t *testing.T) { function Test_calcStructMap (line 77) | func Test_calcStructMap(t *testing.T) { function Test_writeStructArray (line 142) | func Test_writeStructArray(t *testing.T) { function Test_writeStructMap (line 180) | func Test_writeStructMap(t *testing.T) { function Test_calcSizeWithOmitEmpty (line 218) | func Test_calcSizeWithOmitEmpty(t *testing.T) { function Test_structCache (line 230) | func Test_structCache(t *testing.T) { FILE: internal/encoding/uint.go method calcUint (line 9) | func (e *encoder) calcUint(v uint64) int { method writeUint (line 23) | func (e *encoder) writeUint(v uint64, offset int) int { FILE: internal/stream/decoding/bin.go method isCodeBin (line 11) | func (d *decoder) isCodeBin(v byte) bool { method asBinWithCode (line 19) | func (d *decoder) asBinWithCode(code byte, k reflect.Kind) ([]byte, erro... method asBinStringWithCode (line 49) | func (d *decoder) asBinStringWithCode(code byte, k reflect.Kind) (string... method copySizeN (line 54) | func (d *decoder) copySizeN(n int) ([]byte, error) { FILE: internal/stream/decoding/bin_test.go function Test_isCodeBin (line 12) | func Test_isCodeBin(t *testing.T) { function Test_asBinWithCode (line 21) | func Test_asBinWithCode(t *testing.T) { FILE: internal/stream/decoding/bool.go method asBool (line 9) | func (d *decoder) asBool(k reflect.Kind) (bool, error) { method asBoolWithCode (line 17) | func (d *decoder) asBoolWithCode(code byte, k reflect.Kind) (bool, error) { FILE: internal/stream/decoding/bool_test.go function Test_asBool (line 11) | func Test_asBool(t *testing.T) { function Test_asBoolWithCode (line 36) | func Test_asBoolWithCode(t *testing.T) { FILE: internal/stream/decoding/complex.go method asComplex64 (line 12) | func (d *decoder) asComplex64(code byte, k reflect.Kind) (complex64, err... method asComplex128 (line 61) | func (d *decoder) asComplex128(code byte, k reflect.Kind) (complex128, e... FILE: internal/stream/decoding/complex_test.go function Test_asComplex64 (line 11) | func Test_asComplex64(t *testing.T) { function Test_asComplex128 (line 91) | func Test_asComplex128(t *testing.T) { FILE: internal/stream/decoding/decoding.go type decoder (line 12) | type decoder struct method decode (line 42) | func (d *decoder) decode(rv reflect.Value) error { method decodeWithCode (line 50) | func (d *decoder) decodeWithCode(code byte, rv reflect.Value) error { method errorTemplate (line 323) | func (d *decoder) errorTemplate(code byte, k reflect.Kind) error { function Decode (line 21) | func Decode(r io.Reader, v interface{}, asArray bool) error { FILE: internal/stream/decoding/decoding_test.go type AsXXXTestCase (line 13) | type AsXXXTestCase struct type AsXXXTestCases (line 25) | type AsXXXTestCases method Run (line 27) | func (tcs AsXXXTestCases[T]) Run(t *testing.T) { method Run (line 33) | func (tc *AsXXXTestCase[T]) Run(t *testing.T) { function TestDecoding (line 79) | func TestDecoding(t *testing.T) { function Test_decodeWithCode (line 93) | func Test_decodeWithCode(t *testing.T) { FILE: internal/stream/decoding/ext.go function AddExtDecoder (line 17) | func AddExtDecoder(f ext.StreamDecoder) { function RemoveExtDecoder (line 31) | func RemoveExtDecoder(f ext.StreamDecoder) { function updateExtCoders (line 44) | func updateExtCoders() { method readIfExtType (line 53) | func (d *decoder) readIfExtType(code byte) (innerType int8, data []byte,... FILE: internal/stream/decoding/ext_test.go function Test_AddExtDecoder (line 13) | func Test_AddExtDecoder(t *testing.T) { function Test_RemoveExtDecoder (line 20) | func Test_RemoveExtDecoder(t *testing.T) { function Test_readIfExtType (line 27) | func Test_readIfExtType(t *testing.T) { FILE: internal/stream/decoding/float.go method asFloat32 (line 11) | func (d *decoder) asFloat32(k reflect.Kind) (float32, error) { method asFloat32WithCode (line 19) | func (d *decoder) asFloat32WithCode(code byte, k reflect.Kind) (float32,... method asFloat64 (line 49) | func (d *decoder) asFloat64(k reflect.Kind) (float64, error) { method asFloat64WithCode (line 57) | func (d *decoder) asFloat64WithCode(code byte, k reflect.Kind) (float64,... FILE: internal/stream/decoding/float_test.go function Test_asFloat32 (line 11) | func Test_asFloat32(t *testing.T) { function Test_asFloat32WithCode (line 35) | func Test_asFloat32WithCode(t *testing.T) { function Test_asFloat64 (line 102) | func Test_asFloat64(t *testing.T) { function Test_asFloat64WithCode (line 126) | func Test_asFloat64WithCode(t *testing.T) { FILE: internal/stream/decoding/int.go method isPositiveFixNum (line 10) | func (d *decoder) isPositiveFixNum(v byte) bool { method isNegativeFixNum (line 14) | func (d *decoder) isNegativeFixNum(v byte) bool { method asInt (line 18) | func (d *decoder) asInt(k reflect.Kind) (int64, error) { method asIntWithCode (line 26) | func (d *decoder) asIntWithCode(code byte, k reflect.Kind) (int64, error) { FILE: internal/stream/decoding/int_test.go function Test_asInt (line 11) | func Test_asInt(t *testing.T) { function Test_asIntWithCode (line 37) | func Test_asIntWithCode(t *testing.T) { FILE: internal/stream/decoding/interface.go method asInterface (line 10) | func (d *decoder) asInterface(k reflect.Kind) (interface{}, error) { method asInterfaceWithCode (line 18) | func (d *decoder) asInterfaceWithCode(code byte, k reflect.Kind) (interf... method canSetAsMapKey (line 169) | func (d *decoder) canSetAsMapKey(code byte) error { FILE: internal/stream/decoding/interface_test.go function Test_asInterface (line 13) | func Test_asInterface(t *testing.T) { function Test_asInterfaceWithCode (line 39) | func Test_asInterfaceWithCode(t *testing.T) { type testExt2StreamDecoder (line 220) | type testExt2StreamDecoder struct method Code (line 224) | func (td *testExt2StreamDecoder) Code() int8 { method IsType (line 228) | func (td *testExt2StreamDecoder) IsType(_ byte, code int8, _ int) bool { method ToValue (line 234) | func (td *testExt2StreamDecoder) ToValue(_ byte, _ []byte, k reflect.K... FILE: internal/stream/decoding/map.go method isFixMap (line 57) | func (d *decoder) isFixMap(v byte) bool { method mapLength (line 61) | func (d *decoder) mapLength(code byte, k reflect.Kind) (int, error) { method asFixedMap (line 82) | func (d *decoder) asFixedMap(rv reflect.Value, l int) (bool, error) { FILE: internal/stream/decoding/map_test.go function Test_mapLength (line 14) | func Test_mapLength(t *testing.T) { function Test_asFixedMap_StringInt (line 70) | func Test_asFixedMap_StringInt(t *testing.T) { function Test_asFixedMap_StringUint (line 127) | func Test_asFixedMap_StringUint(t *testing.T) { function Test_asFixedMap_StringFloat (line 184) | func Test_asFixedMap_StringFloat(t *testing.T) { function Test_asFixedMap_StringBool (line 232) | func Test_asFixedMap_StringBool(t *testing.T) { function Test_asFixedMap_StringString (line 277) | func Test_asFixedMap_StringString(t *testing.T) { function Test_asFixedMap_IntString (line 322) | func Test_asFixedMap_IntString(t *testing.T) { function Test_asFixedMap_IntBool (line 379) | func Test_asFixedMap_IntBool(t *testing.T) { function Test_asFixedMap_UintString (line 436) | func Test_asFixedMap_UintString(t *testing.T) { function Test_asFixedMap_UintBool (line 493) | func Test_asFixedMap_UintBool(t *testing.T) { function Test_asFixedMap_FloatString (line 550) | func Test_asFixedMap_FloatString(t *testing.T) { function Test_asFixedMap_FloatBool (line 598) | func Test_asFixedMap_FloatBool(t *testing.T) { FILE: internal/stream/decoding/nil.go method isCodeNil (line 5) | func (d *decoder) isCodeNil(v byte) bool { FILE: internal/stream/decoding/read.go method readSize1 (line 3) | func (d *decoder) readSize1() (byte, error) { method readSize2 (line 10) | func (d *decoder) readSize2() ([]byte, error) { method readSize4 (line 17) | func (d *decoder) readSize4() ([]byte, error) { method readSize8 (line 24) | func (d *decoder) readSize8() ([]byte, error) { method readSize16 (line 31) | func (d *decoder) readSize16() ([]byte, error) { method readSizeN (line 38) | func (d *decoder) readSizeN(n int) ([]byte, error) { FILE: internal/stream/decoding/slice.go method isFixSlice (line 31) | func (d *decoder) isFixSlice(v byte) bool { method sliceLength (line 35) | func (d *decoder) sliceLength(code byte, k reflect.Kind) (int, error) { method asFixedSlice (line 55) | func (d *decoder) asFixedSlice(rv reflect.Value, l int) (bool, error) { FILE: internal/stream/decoding/slice_test.go function Test_sliceLength (line 13) | func Test_sliceLength(t *testing.T) { function Test_asFixedSlice_Int (line 69) | func Test_asFixedSlice_Int(t *testing.T) { function Test_asFixedSlice_Int8 (line 101) | func Test_asFixedSlice_Int8(t *testing.T) { function Test_asFixedSlice_Int16 (line 133) | func Test_asFixedSlice_Int16(t *testing.T) { function Test_asFixedSlice_Int32 (line 165) | func Test_asFixedSlice_Int32(t *testing.T) { function Test_asFixedSlice_Int64 (line 197) | func Test_asFixedSlice_Int64(t *testing.T) { function Test_asFixedSlice_Uint (line 229) | func Test_asFixedSlice_Uint(t *testing.T) { function Test_asFixedSlice_Uint8 (line 261) | func Test_asFixedSlice_Uint8(t *testing.T) { function Test_asFixedSlice_Uint16 (line 293) | func Test_asFixedSlice_Uint16(t *testing.T) { function Test_asFixedSlice_Uint32 (line 325) | func Test_asFixedSlice_Uint32(t *testing.T) { function Test_asFixedSlice_Uint64 (line 357) | func Test_asFixedSlice_Uint64(t *testing.T) { function Test_asFixedSlice_Float32 (line 389) | func Test_asFixedSlice_Float32(t *testing.T) { function Test_asFixedSlice_Float64 (line 421) | func Test_asFixedSlice_Float64(t *testing.T) { function Test_asFixedSlice_String (line 453) | func Test_asFixedSlice_String(t *testing.T) { function Test_asFixedSlice_Bool (line 485) | func Test_asFixedSlice_Bool(t *testing.T) { FILE: internal/stream/decoding/string.go method isCodeString (line 15) | func (d *decoder) isCodeString(code byte) bool { method isFixString (line 19) | func (d *decoder) isFixString(v byte) bool { method stringByteLength (line 23) | func (d *decoder) stringByteLength(code byte, k reflect.Kind) (int, erro... method asString (line 51) | func (d *decoder) asString(k reflect.Kind) (string, error) { method asStringWithCode (line 59) | func (d *decoder) asStringWithCode(code byte, k reflect.Kind) (string, e... method asStringByte (line 67) | func (d *decoder) asStringByte(k reflect.Kind) ([]byte, error) { method asStringByteWithCode (line 75) | func (d *decoder) asStringByteWithCode(code byte, k reflect.Kind) ([]byt... method asStringByteByLength (line 84) | func (d *decoder) asStringByteByLength(l int, _ reflect.Kind) ([]byte, e... FILE: internal/stream/decoding/string_test.go function Test_stringByteLength (line 12) | func Test_stringByteLength(t *testing.T) { function Test_asString (line 90) | func Test_asString(t *testing.T) { function Test_asStringByte (line 123) | func Test_asStringByte(t *testing.T) { FILE: internal/stream/decoding/struct.go type structCacheTypeMap (line 11) | type structCacheTypeMap struct type structCacheTypeArray (line 24) | type structCacheTypeArray struct function getFieldByPath (line 43) | func getFieldByPath(rv reflect.Value, path []int, allowAlloc bool) (refl... method setStruct (line 61) | func (d *decoder) setStruct(code byte, rv reflect.Value, k reflect.Kind)... method setStructFromArray (line 91) | func (d *decoder) setStructFromArray(code byte, rv reflect.Value, k refl... method setStructFromMap (line 170) | func (d *decoder) setStructFromMap(code byte, rv reflect.Value, k reflec... method jumpOffset (line 296) | func (d *decoder) jumpOffset() error { FILE: internal/stream/decoding/struct_test.go function Test_setStruct_ext (line 13) | func Test_setStruct_ext(t *testing.T) { function Test_setStructFromMap (line 60) | func Test_setStructFromMap(t *testing.T) { function Test_setStructFromArray (line 123) | func Test_setStructFromArray(t *testing.T) { function Test_jumpOffset (line 186) | func Test_jumpOffset(t *testing.T) { FILE: internal/stream/decoding/uint.go method asUint (line 10) | func (d *decoder) asUint(k reflect.Kind) (uint64, error) { method asUintWithCode (line 18) | func (d *decoder) asUintWithCode(code byte, k reflect.Kind) (uint64, err... FILE: internal/stream/decoding/uint_test.go function Test_asUint (line 15) | func Test_asUint(t *testing.T) { function Test_asUintWithCode (line 36) | func Test_asUintWithCode(t *testing.T) { FILE: internal/stream/encoding/bool.go method writeBool (line 5) | func (e *encoder) writeBool(v bool) error { FILE: internal/stream/encoding/bool_test.go function Test_asBool (line 9) | func Test_asBool(t *testing.T) { FILE: internal/stream/encoding/byte.go method isByteSlice (line 12) | func (e *encoder) isByteSlice(rv reflect.Value) bool { method writeByteSliceLength (line 16) | func (e *encoder) writeByteSliceLength(l int) error { FILE: internal/stream/encoding/byte_test.go function Test_writeByteSliceLength (line 9) | func Test_writeByteSliceLength(t *testing.T) { FILE: internal/stream/encoding/complex.go method writeComplex64 (line 9) | func (e *encoder) writeComplex64(v complex64) error { method writeComplex128 (line 25) | func (e *encoder) writeComplex128(v complex128) error { FILE: internal/stream/encoding/complex_test.go function Test_writeComplex64 (line 9) | func Test_writeComplex64(t *testing.T) { function Test_writeComplex128 (line 64) | func Test_writeComplex128(t *testing.T) { FILE: internal/stream/encoding/encoding.go type encoder (line 12) | type encoder struct method create (line 43) | func (e *encoder) create(rv reflect.Value) error { function Encode (line 20) | func Encode(w io.Writer, v any, asArray bool) error { FILE: internal/stream/encoding/encoding_test.go constant dummyByte (line 15) | dummyByte = 0xc1 type TestWriter (line 17) | type TestWriter struct method Write (line 25) | func (w *TestWriter) Write(p []byte) (n int, err error) { function NewTestWriter (line 33) | func NewTestWriter() *TestWriter { type AsXXXTestCase (line 37) | type AsXXXTestCase struct type AsXXXTestCases (line 51) | type AsXXXTestCases method Run (line 53) | func (tcs AsXXXTestCases[T]) Run(t *testing.T) { method Run (line 59) | func (tc *AsXXXTestCase[T]) Run(t *testing.T) { function TestEncode (line 121) | func TestEncode(t *testing.T) { function Test_create (line 132) | func Test_create(t *testing.T) { FILE: internal/stream/encoding/ext.go function AddExtEncoder (line 16) | func AddExtEncoder(f ext.StreamEncoder) { function RemoveExtEncoder (line 30) | func RemoveExtEncoder(f ext.StreamEncoder) { function updateExtCoders (line 43) | func updateExtCoders() { FILE: internal/stream/encoding/ext_test.go function Test_AddExtEncoder (line 10) | func Test_AddExtEncoder(t *testing.T) { function Test_RemoveExtEncoder (line 17) | func Test_RemoveExtEncoder(t *testing.T) { FILE: internal/stream/encoding/float.go method writeFloat32 (line 9) | func (e *encoder) writeFloat32(v float64) error { method writeFloat64 (line 19) | func (e *encoder) writeFloat64(v float64) error { FILE: internal/stream/encoding/float_test.go function Test_writeFloat32 (line 9) | func Test_writeFloat32(t *testing.T) { function Test_writeFloat64 (line 44) | func Test_writeFloat64(t *testing.T) { FILE: internal/stream/encoding/int.go method isNegativeFixInt64 (line 9) | func (e *encoder) isNegativeFixInt64(v int64) bool { method writeInt (line 13) | func (e *encoder) writeInt(v int64) error { FILE: internal/stream/encoding/int_test.go function Test_asInt (line 10) | func Test_asInt(t *testing.T) { FILE: internal/stream/encoding/map.go method writeMapLength (line 10) | func (e *encoder) writeMapLength(l int) error { method writeFixedMap (line 34) | func (e *encoder) writeFixedMap(rv reflect.Value) (bool, error) { FILE: internal/stream/encoding/map_test.go function Test_writeMapLength (line 11) | func Test_writeMapLength(t *testing.T) { function Test_writeFixedMap (line 78) | func Test_writeFixedMap(t *testing.T) { FILE: internal/stream/encoding/nil.go method writeNil (line 5) | func (e *encoder) writeNil() error { FILE: internal/stream/encoding/set.go method setByte1Int64 (line 3) | func (e *encoder) setByte1Int64(value int64) error { method setByte2Int64 (line 7) | func (e *encoder) setByte2Int64(value int64) error { method setByte4Int64 (line 14) | func (e *encoder) setByte4Int64(value int64) error { method setByte8Int64 (line 23) | func (e *encoder) setByte8Int64(value int64) error { method setByte1Uint64 (line 36) | func (e *encoder) setByte1Uint64(value uint64) error { method setByte2Uint64 (line 40) | func (e *encoder) setByte2Uint64(value uint64) error { method setByte4Uint64 (line 47) | func (e *encoder) setByte4Uint64(value uint64) error { method setByte8Uint64 (line 56) | func (e *encoder) setByte8Uint64(value uint64) error { method setByte1Int (line 69) | func (e *encoder) setByte1Int(value int) error { method setByte2Int (line 75) | func (e *encoder) setByte2Int(value int) error { method setByte4Int (line 82) | func (e *encoder) setByte4Int(value int) error { method setBytes (line 91) | func (e *encoder) setBytes(bs []byte) error { FILE: internal/stream/encoding/slice.go method writeSliceLength (line 10) | func (e *encoder) writeSliceLength(l int) error { method writeFixedSlice (line 34) | func (e *encoder) writeFixedSlice(rv reflect.Value) (bool, error) { FILE: internal/stream/encoding/slice_test.go function Test_writeSliceLength (line 11) | func Test_writeSliceLength(t *testing.T) { function Test_writeFixedSlice (line 78) | func Test_writeFixedSlice(t *testing.T) { FILE: internal/stream/encoding/string.go method writeString (line 10) | func (e *encoder) writeString(str string) error { FILE: internal/stream/encoding/string_test.go function Test_writeString (line 11) | func Test_writeString(t *testing.T) { FILE: internal/stream/encoding/struct.go type structCache (line 13) | type structCache struct type structWriteFunc (line 34) | type structWriteFunc function getFieldByPath (line 38) | func getFieldByPath(rv reflect.Value, path []int) (reflect.Value, bool) { function shouldOmitByParent (line 53) | func shouldOmitByParent(rv reflect.Value, omitPaths [][]int) bool { method getStructWriter (line 63) | func (e *encoder) getStructWriter(typ reflect.Type) structWriteFunc { method writeStruct (line 79) | func (e *encoder) writeStruct(rv reflect.Value) error { method writeStructArray (line 93) | func (e *encoder) writeStructArray(rv reflect.Value) error { method writeStructMap (line 144) | func (e *encoder) writeStructMap(rv reflect.Value) error { method getStructCache (line 222) | func (e *encoder) getStructCache(rv reflect.Value) *structCache { FILE: internal/stream/encoding/struct_test.go function Test_writeStruct (line 13) | func Test_writeStruct(t *testing.T) { function Test_writeStructArray (line 90) | func Test_writeStructArray(t *testing.T) { function Test_writeStructMap (line 200) | func Test_writeStructMap(t *testing.T) { FILE: internal/stream/encoding/uint.go method writeUint (line 9) | func (e *encoder) writeUint(v uint64) error { FILE: internal/stream/encoding/uint_test.go function Test_asUint (line 10) | func Test_asUint(t *testing.T) { FILE: msgpack.go function Marshal (line 21) | func Marshal(v interface{}) ([]byte, error) { function MarshalWrite (line 26) | func MarshalWrite(w io.Writer, v interface{}) error { function Unmarshal (line 32) | func Unmarshal(data []byte, v interface{}) error { function UnmarshalRead (line 38) | func UnmarshalRead(r io.Reader, v interface{}) error { function AddExtCoder (line 43) | func AddExtCoder(e ext.Encoder, d ext.Decoder) error { function AddExtStreamCoder (line 53) | func AddExtStreamCoder(e ext.StreamEncoder, d ext.StreamDecoder) error { function RemoveExtCoder (line 63) | func RemoveExtCoder(e ext.Encoder, d ext.Decoder) error { function RemoveExtStreamCoder (line 73) | func RemoveExtStreamCoder(e ext.StreamEncoder, d ext.StreamDecoder) error { function SetComplexTypeCode (line 83) | func SetComplexTypeCode(code int8) { function SetDecodedTimeAsUTC (line 88) | func SetDecodedTimeAsUTC() { function SetDecodedTimeAsLocal (line 93) | func SetDecodedTimeAsLocal() { FILE: msgpack_example_test.go function ExampleAddExtCoder (line 14) | func ExampleAddExtCoder() { function ExampleAddExtStreamCoder (line 39) | func ExampleAddExtStreamCoder() { constant ipNetCode (line 66) | ipNetCode = 50 type IPNetDecoder (line 68) | type IPNetDecoder struct method Code (line 74) | func (td *IPNetDecoder) Code() int8 { method IsType (line 78) | func (td *IPNetDecoder) IsType(offset int, d *[]byte) bool { method AsValue (line 88) | func (td *IPNetDecoder) AsValue(offset int, k reflect.Kind, d *[]byte)... type IPNetStreamDecoder (line 112) | type IPNetStreamDecoder struct method Code (line 116) | func (td *IPNetStreamDecoder) Code() int8 { method IsType (line 120) | func (td *IPNetStreamDecoder) IsType(code byte, innerType int8, _ int)... method ToValue (line 124) | func (td *IPNetStreamDecoder) ToValue(code byte, data []byte, k reflec... type IPNetEncoder (line 138) | type IPNetEncoder struct method Code (line 144) | func (s *IPNetEncoder) Code() int8 { method Type (line 148) | func (s *IPNetEncoder) Type() reflect.Type { method CalcByteSize (line 152) | func (s *IPNetEncoder) CalcByteSize(value reflect.Value) (int, error) { method WriteToBytes (line 157) | func (s *IPNetEncoder) WriteToBytes(value reflect.Value, offset int, b... type IPNetStreamEncoder (line 168) | type IPNetStreamEncoder struct method Code (line 172) | func (s *IPNetStreamEncoder) Code() int8 { method Type (line 176) | func (s *IPNetStreamEncoder) Type() reflect.Type { method Write (line 180) | func (s *IPNetStreamEncoder) Write(w ext.StreamWriter, value reflect.V... FILE: msgpack_test.go function init (line 27) | func init() { function TestInt (line 32) | func TestInt(t *testing.T) { function TestUint (line 99) | func TestUint(t *testing.T) { function TestFloat (line 142) | func TestFloat(t *testing.T) { function TestBool (line 255) | func TestBool(t *testing.T) { function TestNil (line 290) | func TestNil(t *testing.T) { function TestString (line 311) | func TestString(t *testing.T) { function TestComplex (line 381) | func TestComplex(t *testing.T) { function TestAny (line 488) | func TestAny(t *testing.T) { function TestBin (line 593) | func TestBin(t *testing.T) { function TestArray (line 721) | func TestArray(t *testing.T) { function TestFixedSlice (line 840) | func TestFixedSlice(t *testing.T) { function TestFixedMap (line 976) | func TestFixedMap(t *testing.T) { function TestTime (line 1327) | func TestTime(t *testing.T) { function TestMap (line 1447) | func TestMap(t *testing.T) { function TestPointer (line 1539) | func TestPointer(t *testing.T) { function TestUnsupported (line 1575) | func TestUnsupported(t *testing.T) { function TestStruct (line 1666) | func TestStruct(t *testing.T) { function testEmbedded (line 1699) | func testEmbedded(t *testing.T) { function testEmbeddedStruct (line 1720) | func testEmbeddedStruct(t *testing.T) { function testStructTag (line 2487) | func testStructTag(t *testing.T) { function TestStructTagOmitempty (line 2518) | func TestStructTagOmitempty(t *testing.T) { function testStructArray (line 2613) | func testStructArray(t *testing.T) { function testStructCode (line 2645) | func testStructCode(t *testing.T) { function testStructUseCase (line 2721) | func testStructUseCase(t *testing.T) { function testStructJump (line 2809) | func testStructJump(t *testing.T) { function TestExt (line 2877) | func TestExt(t *testing.T) { type ExtStruct (line 2939) | type ExtStruct struct type ExtInt (line 2953) | type ExtInt type testDecoder (line 2957) | type testDecoder struct method Code (line 2965) | func (td *testDecoder) Code() int8 { method IsType (line 2969) | func (td *testDecoder) IsType(offset int, d *[]byte) bool { method AsValue (line 2979) | func (td *testDecoder) AsValue(offset int, k reflect.Kind, d *[]byte) ... type testStreamDecoder (line 3021) | type testStreamDecoder struct method Code (line 3025) | func (td *testStreamDecoder) Code() int8 { method IsType (line 3029) | func (td *testStreamDecoder) IsType(code byte, innerType int8, dataLen... method ToValue (line 3036) | func (td *testStreamDecoder) ToValue(code byte, data []byte, k reflect... type testEncoder (line 3072) | type testEncoder struct method Code (line 3078) | func (s *testEncoder) Code() int8 { method Type (line 3082) | func (s *testEncoder) Type() reflect.Type { method CalcByteSize (line 3086) | func (s *testEncoder) CalcByteSize(value reflect.Value) (int, error) { method WriteToBytes (line 3091) | func (s *testEncoder) WriteToBytes(value reflect.Value, offset int, by... type testStreamEncoder (line 3117) | type testStreamEncoder struct method Code (line 3121) | func (s *testStreamEncoder) Code() int8 { method Type (line 3125) | func (s *testStreamEncoder) Type() reflect.Type { method Write (line 3129) | func (s *testStreamEncoder) Write(w ext.StreamWriter, value reflect.Va... type Ext2Struct (line 3185) | type Ext2Struct struct type Ext2Int (line 3188) | type Ext2Int constant testExt2DecoderCode (line 3191) | testExt2DecoderCode = 3 constant testExt2EncoderCode (line 3192) | testExt2EncoderCode = -3 type testExt2Decoder (line 3195) | type testExt2Decoder struct method Code (line 3199) | func (td *testExt2Decoder) Code() int8 { method IsType (line 3203) | func (td *testExt2Decoder) IsType(_ int, _ *[]byte) bool { method AsValue (line 3207) | func (td *testExt2Decoder) AsValue(_ int, k reflect.Kind, _ *[]byte) (... type testExt2StreamDecoder (line 3211) | type testExt2StreamDecoder struct method Code (line 3215) | func (td *testExt2StreamDecoder) Code() int8 { method IsType (line 3219) | func (td *testExt2StreamDecoder) IsType(_ byte, _ int8, _ int) bool { method ToValue (line 3223) | func (td *testExt2StreamDecoder) ToValue(_ byte, _ []byte, k reflect.K... type testExt2Encoder (line 3227) | type testExt2Encoder struct method Code (line 3233) | func (s *testExt2Encoder) Code() int8 { method Type (line 3237) | func (s *testExt2Encoder) Type() reflect.Type { method CalcByteSize (line 3241) | func (s *testExt2Encoder) CalcByteSize(_ reflect.Value) (int, error) { method WriteToBytes (line 3245) | func (s *testExt2Encoder) WriteToBytes(_ reflect.Value, offset int, _ ... type testExt2StreamEncoder (line 3249) | type testExt2StreamEncoder struct method Code (line 3253) | func (s *testExt2StreamEncoder) Code() int8 { method Type (line 3257) | func (s *testExt2StreamEncoder) Type() reflect.Type { method Write (line 3261) | func (s *testExt2StreamEncoder) Write(_ ext.StreamWriter, _ reflect.Va... type Issue44Struct1 (line 3267) | type Issue44Struct1 struct type Issue44Struct2 (line 3273) | type Issue44Struct2 struct type Issue44Struct3 (line 3282) | type Issue44Struct3 struct type Issue44Struct4 (line 3288) | type Issue44Struct4 struct function TestIssue44 (line 3298) | func TestIssue44(t *testing.T) { type checker (line 3394) | type checker type marshaller (line 3395) | type marshaller type unmarshaller (line 3396) | type unmarshaller type encdecArg (line 3421) | type encdecArg struct function encdec (line 3431) | func encdec[T any](t *testing.T, args ...encdecArg[T]) { function getValue (line 3488) | func getValue(v interface{}) interface{} { function equalCheck (line 3502) | func equalCheck(in, out interface{}) error { function NoError (line 3511) | func NoError(t *testing.T, err error) { function ErrorContains (line 3518) | func ErrorContains(t *testing.T, err error, errStr string) { FILE: time/decode.go type timeDecoder (line 17) | type timeDecoder struct method Code (line 23) | func (td *timeDecoder) Code() int8 { method readSize1Safe (line 27) | func (td *timeDecoder) readSize1Safe(index int, d *[]byte) (byte, int,... method readSize4Safe (line 35) | func (td *timeDecoder) readSize4Safe(index int, d *[]byte) ([]byte, in... method readSize8Safe (line 43) | func (td *timeDecoder) readSize8Safe(index int, d *[]byte) ([]byte, in... method IsType (line 51) | func (td *timeDecoder) IsType(offset int, d *[]byte) bool { method AsValue (line 91) | func (td *timeDecoder) AsValue(offset int, k reflect.Kind, d *[]byte) ... FILE: time/decode_stream.go type timeStreamDecoder (line 15) | type timeStreamDecoder struct method Code (line 19) | func (td *timeStreamDecoder) Code() int8 { method IsType (line 23) | func (td *timeStreamDecoder) IsType(code byte, innerType int8, dataLen... method ToValue (line 33) | func (td *timeStreamDecoder) ToValue(code byte, data []byte, k reflect... FILE: time/decode_stream_test.go function TestStreamDecodeCode (line 13) | func TestStreamDecodeCode(t *testing.T) { function TestStreamDecodeIsType (line 19) | func TestStreamDecodeIsType(t *testing.T) { function TestStreamDecodeToValueFixext4 (line 96) | func TestStreamDecodeToValueFixext4(t *testing.T) { function TestStreamDecodeToValueFixext8 (line 137) | func TestStreamDecodeToValueFixext8(t *testing.T) { function TestStreamDecodeToValueExt8 (line 185) | func TestStreamDecodeToValueExt8(t *testing.T) { function TestStreamDecodeToValueErrors (line 226) | func TestStreamDecodeToValueErrors(t *testing.T) { function TestStreamDecodeToValueTooShort (line 260) | func TestStreamDecodeToValueTooShort(t *testing.T) { function TestStreamDecodeTimezone (line 281) | func TestStreamDecodeTimezone(t *testing.T) { function TestStreamDecodeRoundTrip (line 363) | func TestStreamDecodeRoundTrip(t *testing.T) { FILE: time/decode_test.go function TestDecodeCode (line 13) | func TestDecodeCode(t *testing.T) { function TestDecodeIsType (line 19) | func TestDecodeIsType(t *testing.T) { function TestDecodeIsTypeShortInput (line 78) | func TestDecodeIsTypeShortInput(t *testing.T) { function TestDecodeAsValueFixext4 (line 102) | func TestDecodeAsValueFixext4(t *testing.T) { function TestDecodeAsValueFixext8 (line 147) | func TestDecodeAsValueFixext8(t *testing.T) { function TestDecodeAsValueExt8 (line 199) | func TestDecodeAsValueExt8(t *testing.T) { function TestDecodeAsValueErrors (line 245) | func TestDecodeAsValueErrors(t *testing.T) { function TestDecodeAsValueTooShort (line 285) | func TestDecodeAsValueTooShort(t *testing.T) { function TestDecodeTimezone (line 310) | func TestDecodeTimezone(t *testing.T) { function TestDecodeRoundTrip (line 396) | func TestDecodeRoundTrip(t *testing.T) { FILE: time/encode.go type timeEncoder (line 13) | type timeEncoder struct method Code (line 19) | func (td *timeEncoder) Code() int8 { method Type (line 23) | func (s *timeEncoder) Type() reflect.Type { method CalcByteSize (line 27) | func (s *timeEncoder) CalcByteSize(value reflect.Value) (int, error) { method WriteToBytes (line 41) | func (s *timeEncoder) WriteToBytes(value reflect.Value, offset int, by... FILE: time/encode_stream.go type timeStreamEncoder (line 13) | type timeStreamEncoder struct method Code (line 17) | func (timeStreamEncoder) Code() int8 { method Type (line 21) | func (timeStreamEncoder) Type() reflect.Type { method Write (line 25) | func (e timeStreamEncoder) Write(w ext.StreamWriter, value reflect.Val... FILE: time/encode_stream_test.go function TestStreamCode (line 17) | func TestStreamCode(t *testing.T) { function TestStreamType (line 23) | func TestStreamType(t *testing.T) { function TestStreamWrite (line 30) | func TestStreamWrite(t *testing.T) { function TestStreamWriteEdgeCases (line 111) | func TestStreamWriteEdgeCases(t *testing.T) { function TestStreamEncodedDataAccuracy (line 164) | func TestStreamEncodedDataAccuracy(t *testing.T) { function TestStreamWriteWithVariousNanoseconds (line 226) | func TestStreamWriteWithVariousNanoseconds(t *testing.T) { type testErrWriter (line 282) | type testErrWriter struct method Write (line 287) | func (w *testErrWriter) Write(p []byte) (n int, err error) { function TestStreamWriteErrors (line 294) | func TestStreamWriteErrors(t *testing.T) { FILE: time/encode_test.go function TestCode (line 13) | func TestCode(t *testing.T) { function TestType (line 19) | func TestType(t *testing.T) { function TestCalcByteSize (line 26) | func TestCalcByteSize(t *testing.T) { function TestEncodedDataAccuracy (line 76) | func TestEncodedDataAccuracy(t *testing.T) { function TestWriteToBytes (line 130) | func TestWriteToBytes(t *testing.T) { function TestWriteToBytesOffset (line 209) | func TestWriteToBytesOffset(t *testing.T) { function TestWriteToBytesEdgeCases (line 230) | func TestWriteToBytesEdgeCases(t *testing.T) { function TestWriteToBytesWithVariousNanoseconds (line 278) | func TestWriteToBytesWithVariousNanoseconds(t *testing.T) { FILE: time/time.go function SetDecodedAsLocal (line 6) | func SetDecodedAsLocal(b bool) { FILE: unmarshal_ext_test.go function TestUnmarshalTruncatedTimestampExtReturnsTooShort (line 11) | func TestUnmarshalTruncatedTimestampExtReturnsTooShort(t *testing.T) {