Versions in this module Expand all Collapse all v1 v1.0.0 Jun 19, 2022 Changes in this version + var Tests = []func(c GeneralCodec, t testing.TB) + func TestArray(codec GeneralCodec, t testing.TB) + func TestArrayOfInterface(codec GeneralCodec, t testing.TB) + func TestBigArray(codec GeneralCodec, t testing.TB) + func TestBool(codec GeneralCodec, t testing.TB) + func TestEmptySliceSerialization(codec GeneralCodec, t testing.TB) + func TestExtraSpace(codec GeneralCodec, t testing.TB) + func TestInterface(codec GeneralCodec, t testing.TB) + func TestMaxSizeSlice(codec GeneralCodec, t testing.TB) + func TestNegativeNumbers(codec GeneralCodec, t testing.TB) + func TestNilSlice(codec GeneralCodec, t testing.TB) + func TestNilSliceSerialization(codec GeneralCodec, t testing.TB) + func TestPointerToInterface(codec GeneralCodec, t testing.TB) + func TestPointerToStruct(codec GeneralCodec, t testing.TB) + func TestRegisterStructTwice(codec GeneralCodec, t testing.TB) + func TestRestrictedSlice(codec GeneralCodec, t testing.TB) + func TestSerializeOfNoSerializeField(codec GeneralCodec, t testing.TB) + func TestSerializeUnexportedField(codec GeneralCodec, t testing.TB) + func TestSlice(codec GeneralCodec, t testing.TB) + func TestSliceLengthOverflow(codec GeneralCodec, t testing.TB) + func TestSliceOfInterface(codec GeneralCodec, t testing.TB) + func TestSliceOfStruct(codec GeneralCodec, t testing.TB) + func TestSliceTooLarge(codec GeneralCodec, t testing.TB) + func TestSliceWithEmptySerialization(codec GeneralCodec, t testing.TB) + func TestSliceWithEmptySerializationOutOfMemory(codec GeneralCodec, t testing.TB) + func TestString(codec GeneralCodec, t testing.TB) + func TestStruct(codec GeneralCodec, t testing.TB) + func TestTooLargeUnmarshal(codec GeneralCodec, t testing.TB) + func TestUInt32(codec GeneralCodec, t testing.TB) + func TestUnmarshalInvalidInterface(codec GeneralCodec, t testing.TB) + type Codec interface + MarshalInto func(interface{}, *wrappers.Packer) error + Unmarshal func([]byte, interface{}) error + type Foo interface + Foo func() int + type GeneralCodec interface + type Manager interface + Marshal func(version uint16, source interface{}) (destination []byte, err error) + RegisterCodec func(version uint16, codec Codec) error + SetMaxSize func(int) + Unmarshal func(source []byte, destination interface{}) (version uint16, err error) + func NewDefaultManager() Manager + func NewManager(maxSize int) Manager + type MyInnerStruct struct + Str string + func (m *MyInnerStruct) Foo() int + type MyInnerStruct2 struct + Bool bool + func (m *MyInnerStruct2) Foo() int + type MyInnerStruct3 struct + F Foo + M1 MyInnerStruct + Str string + type Registry interface + RegisterType func(interface{}) error