buf

package
v0.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByteGet

func ByteGet(length int) (data []byte)

func BytePut

func BytePut(data []byte)

Types

type BufferedConn

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

func NewBufferedConn

func NewBufferedConn(conn net.Conn, reader *bufio.Reader) *BufferedConn

func (*BufferedConn) Close

func (b *BufferedConn) Close() error

func (*BufferedConn) LocalAddr

func (b *BufferedConn) LocalAddr() net.Addr

func (*BufferedConn) Read

func (b *BufferedConn) Read(p []byte) (int, error)

func (*BufferedConn) RemoteAddr

func (b *BufferedConn) RemoteAddr() net.Addr

func (*BufferedConn) SetDeadline

func (b *BufferedConn) SetDeadline(t time.Time) error

func (*BufferedConn) SetReadDeadline

func (b *BufferedConn) SetReadDeadline(t time.Time) error

func (*BufferedConn) SetWriteDeadline

func (b *BufferedConn) SetWriteDeadline(t time.Time) error

func (*BufferedConn) Write

func (b *BufferedConn) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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