reader

package
v0.0.0-...-f89825b Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadTCPMessage

func ReadTCPMessage(conn net.Conn, buf *bytes.Buffer, coder codec.Coder) error

Types

type AReader

type AReader struct {
	// contains filtered or unexported fields
}

func NewAReader

func NewAReader(conn net.Conn) *AReader

func (*AReader) Close

func (r *AReader) Close() error

func (*AReader) Read

func (r *AReader) Read(b []byte) (n int, err error)

if head is not read, read head first

Jump to

Keyboard shortcuts

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