stream

package
v0.0.0-...-fc5cb5e Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockReader

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

func NewBlockReader

func NewBlockReader() *BlockReader

func (*BlockReader) Close

func (me *BlockReader) Close() error

func (*BlockReader) Len

func (me *BlockReader) Len() int

func (*BlockReader) Read

func (me *BlockReader) Read(p []byte) (int, error)

func (*BlockReader) Reset

func (me *BlockReader) Reset()

func (*BlockReader) Write

func (me *BlockReader) Write(p []byte) (int, error)

type BufferEx

type BufferEx struct {
	bytes.Buffer
	// contains filtered or unexported fields
}

func (*BufferEx) Bytes

func (me *BufferEx) Bytes() []byte

func (*BufferEx) Close

func (me *BufferEx) Close() error

func (*BufferEx) Getc

func (me *BufferEx) Getc() (byte, error)

func (*BufferEx) Gets

func (me *BufferEx) Gets() (string, error)

func (*BufferEx) Read

func (me *BufferEx) Read(b []byte) (int, error)

func (*BufferEx) Reset

func (me *BufferEx) Reset()

func (*BufferEx) UnGetc

func (me *BufferEx) UnGetc() (int64, error)

func (*BufferEx) Write

func (me *BufferEx) Write(b []byte) (int, error)

type BufferReader

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

func NewBufferReader

func NewBufferReader(buf []byte) *BufferReader

func (*BufferReader) Read

func (me *BufferReader) Read(p []byte) (int, error)

type ReaderWriterEx

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

func NewReaderWriter

func NewReaderWriter() *ReaderWriterEx

func (*ReaderWriterEx) HaveData

func (me *ReaderWriterEx) HaveData() bool

func (*ReaderWriterEx) Read

func (me *ReaderWriterEx) Read(data []byte) (int, error)

func (*ReaderWriterEx) Reset

func (me *ReaderWriterEx) Reset()

func (*ReaderWriterEx) Write

func (me *ReaderWriterEx) Write(data []byte) (int, error)

Jump to

Keyboard shortcuts

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