qio

package
v0.0.0-...-4155a33 Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesEqual

func BytesEqual(a []byte, b []byte) bool

Types

type Buffer

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

func NewBuffer

func NewBuffer(bufferType BufferType) *Buffer

func (*Buffer) Bytes

func (o *Buffer) Bytes() ([]byte, error)

func (*Buffer) Close

func (o *Buffer) Close()

func (*Buffer) Read

func (o *Buffer) Read(bytes []byte) (int, error)

func (*Buffer) Write

func (o *Buffer) Write(bytes []byte) (int, error)

func (*Buffer) WriteString

func (o *Buffer) WriteString(s string) (int, error)

type BufferType

type BufferType int
const (
	BufferMemory   BufferType = 1
	BufferTempFile BufferType = 2
)

Jump to

Keyboard shortcuts

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