bufiox

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2020 License: MIT Imports: 4 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Buffer

func Buffer(b *bufio.Reader) []byte

Buffer is reserved for internal use.

func IsReaderBuffer

func IsReaderBuffer(b *bufio.Reader) bool

IsReaderBuffer returns if this Reader instance is returned by NewReaderBuffer

func NewReaderBuffer

func NewReaderBuffer(buf []byte) *bufio.Reader

NewReaderBuffer returns a new Reader who uses a extern buffer.

func ReadAll

func ReadAll(b *bufio.Reader) (ret []byte, err error)

ReadAll reads all data

Types

This section is empty.

Jump to

Keyboard shortcuts

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