Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuilderFactory ¶
type BuilderFactory interface { Dependencies() []reflect.Type ConstantSize() uint64 SizeCodeTemplate(varIndex *uint64) (string, bool) MarshalCodeTemplate(varIndex *uint64) string UnmarshalCodeTemplate(varIndex *uint64) string }
BuilderFactory is the interface every type builder must implement.
type BuilderFactoryConstant ¶
type BuilderFactoryConstant interface { Dependencies() []reflect.Type ConstantSize() uint64 MarshalCodeTemplate(varIndex *uint64) string UnmarshalCodeTemplate(varIndex *uint64) string }
BuilderFactoryConstant is the relaxed interface implemented by builders representing types requiring only constant size of buffer.
type BuilderFactoryNonConstant ¶
type BuilderFactoryNonConstant interface { Dependencies() []reflect.Type SizeCodeTemplate(varIndex *uint64) string MarshalCodeTemplate(varIndex *uint64) string UnmarshalCodeTemplate(varIndex *uint64) string }
BuilderFactoryNonConstant is the relaxed interface implemented by builders representing types requiring only non-constant size of buffer.
type TypeMap ¶
type TypeMap struct {
// contains filtered or unexported fields
}
TypeMap implements type mapping required by go code.
Click to show internal directories.
Click to hide internal directories.