Documentation ¶
Overview ¶
Package bytes provides a bytes codec which does not encode or decode anything
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCodec ¶
func NewCodec(c io.ReadWriteCloser) codec.Codec
Types ¶
type Codec ¶
type Codec struct {
Conn io.ReadWriteCloser
}
type Frame ¶ added in v0.21.0
type Frame struct {
Data []byte
}
Frame gives us the ability to define raw data to send over the pipes
type Marshaler ¶
type Marshaler struct{}
Click to show internal directories.
Click to hide internal directories.