Versions in this module Expand all Collapse all v1 v1.2.0 Mar 28, 2024 Changes in this version + func IntToByteBigEndian(i int) []byte + func ReadBytes(reader io.Reader, size int) ([]byte, error) + func ReadInt(reader io.Reader) (int, error) + type ByteBuf struct + func NewReadByteBuf(reader *bufio.Reader) *ByteBuf + func NewReadWriteByteBuf(reader *bufio.Reader, writer *bufio.Writer) *ByteBuf + func NewWriteByteBuf(writeBuffer *bufio.Writer) *ByteBuf + func (b *ByteBuf) Flush() + func (b *ByteBuf) ReadBuffer() *bufio.Reader + func (b *ByteBuf) ReadBytea() byte + func (b *ByteBuf) ReadBytes(size int) []byte + func (b *ByteBuf) ReadInt() int + func (b *ByteBuf) ReadLine() string + func (b *ByteBuf) WriteBuffer() *bufio.Writer + func (b *ByteBuf) WriteBytea(data byte) + func (b *ByteBuf) WriteBytes(data []byte) + func (b *ByteBuf) WriteInt(data int) + func (b *ByteBuf) WriteString(data string) + type LengthBased struct + func NewLengthBased(lengthFieldOffset int, lengthFieldLength int, lengthAdjustment int, ...) *LengthBased + func (l *LengthBased) Decode(reader *bufio.Reader) (*bufio.Reader, error)