Help us shape the future of Go! Take the 2026 Go Developer Survey

stress

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL