bufreader

package
v3.24.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

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

func New

func New(r io.Reader, buf *bytes.Buffer) *Reader

func (*Reader) Discard

func (br *Reader) Discard(n int) (int, error)

func (*Reader) Flush

func (br *Reader) Flush() error

func (*Reader) Peek

func (br *Reader) Peek(n int) ([]byte, error)

func (*Reader) Read

func (br *Reader) Read(p []byte) (int, error)

func (*Reader) ReadByte

func (br *Reader) ReadByte() (byte, error)

Jump to

Keyboard shortcuts

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