Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BenchStruct ¶
type BenchStruct struct { A1 int A2 string A3 bool A4 float64 A5 []int A6 []string A7 []float64 A8 []byte }
BenchStruct represents a bench struct
func (*BenchStruct) DecodeBinary ¶
func (m *BenchStruct) DecodeBinary(stream *bintly.Reader) error
DecodeBinary decode bindly stream
func (*BenchStruct) EncodeBinary ¶
func (m *BenchStruct) EncodeBinary(stream *bintly.Writer) error
EncodeBinary encodes bintly stream
func (*BenchStruct) FromBytes ¶
func (m *BenchStruct) FromBytes(bs []byte)
ToBytes converts from bytes with wrapped encoding/binary ByteOrder
func (*BenchStruct) ToBytes ¶
func (m *BenchStruct) ToBytes() ([]byte, error)
ToBytes converts to bytes with wrapped encoding/binary ByteOrder
type BenchStructAlias ¶
type BenchStructAlias BenchStruct
BenchStructAlias alias to benchmark reflection
Click to show internal directories.
Click to hide internal directories.