Documentation ¶
Index ¶
- func BenchSerialize(b *testing.B, constructor func(zero bool) Message, testData []byte)
- func Create(t testing.TB, f func() (Message, []byte))
- func TestAll(t testing.TB, constructor func(zero bool) Message, testData []byte)
- func TestSerialize(t *testing.T, constructor func(zero bool) Message, testData []byte)
- type Message
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BenchSerialize ¶
Types ¶
type Message ¶
type Message interface { encoding.BinaryMarshaler encoding.BinaryUnmarshaler Len() int Append([]byte) ([]byte, error) }
Click to show internal directories.
Click to hide internal directories.