rbuffergo

package
v0.0.0-...-f824aeb Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2019 License: MIT Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RBuffergo

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

func New

func New(len int, lock bool) *RBuffergo

func (*RBuffergo) CanRead

func (b *RBuffergo) CanRead(size int) bool

func (*RBuffergo) CanWrite

func (b *RBuffergo) CanWrite(size int) bool

func (*RBuffergo) Capacity

func (b *RBuffergo) Capacity() int

func (*RBuffergo) Clear

func (b *RBuffergo) Clear()

func (*RBuffergo) Empty

func (b *RBuffergo) Empty() bool

func (*RBuffergo) Full

func (b *RBuffergo) Full() bool

func (*RBuffergo) GetBuffer

func (b *RBuffergo) GetBuffer() []byte

func (*RBuffergo) GetReadLineBuffer

func (b *RBuffergo) GetReadLineBuffer() []byte

func (*RBuffergo) GetWriteLineBuffer

func (b *RBuffergo) GetWriteLineBuffer() []byte

func (*RBuffergo) Read

func (b *RBuffergo) Read(data []byte) bool

func (*RBuffergo) Restore

func (b *RBuffergo) Restore()

func (*RBuffergo) Size

func (b *RBuffergo) Size() int

func (*RBuffergo) SkipRead

func (b *RBuffergo) SkipRead(size int)

func (*RBuffergo) SkipWrite

func (b *RBuffergo) SkipWrite(size int)

func (*RBuffergo) Store

func (b *RBuffergo) Store()

func (*RBuffergo) Write

func (b *RBuffergo) Write(data []byte) bool

Jump to

Keyboard shortcuts

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