buffer

package
v0.0.0-...-3a25cc1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buffer

type Buffer []byte

func (*Buffer) Read

func (b *Buffer) Read(buf []byte) (int, error)

func (*Buffer) ReadByte

func (b *Buffer) ReadByte() (uint8, error)

func (*Buffer) ReadBytes

func (b *Buffer) ReadBytes() ([]byte, error)

func (*Buffer) ReadFloat32

func (b *Buffer) ReadFloat32() (float32, error)

func (*Buffer) ReadInt16

func (b *Buffer) ReadInt16() (int16, error)

func (*Buffer) ReadInt32

func (b *Buffer) ReadInt32() (int32, error)

func (*Buffer) ReadString

func (b *Buffer) ReadString() (string, error)

func (*Buffer) ReadUint16

func (b *Buffer) ReadUint16() (uint16, error)

func (*Buffer) ReadUint16BE

func (b *Buffer) ReadUint16BE() (uint16, error)

func (*Buffer) ReadUint32

func (b *Buffer) ReadUint32() (uint32, error)

func (*Buffer) ReadUint32BE

func (b *Buffer) ReadUint32BE() (uint32, error)

func (*Buffer) Skip

func (b *Buffer) Skip(n int) error

type PanicBuffer

type PanicBuffer []byte

func (*PanicBuffer) Read

func (b *PanicBuffer) Read(buf []byte) int

func (*PanicBuffer) ReadByte

func (b *PanicBuffer) ReadByte() uint8

func (*PanicBuffer) ReadBytes

func (b *PanicBuffer) ReadBytes() []byte

func (*PanicBuffer) ReadFloat32

func (b *PanicBuffer) ReadFloat32() float32

func (*PanicBuffer) ReadInt16

func (b *PanicBuffer) ReadInt16() int16

func (*PanicBuffer) ReadInt32

func (b *PanicBuffer) ReadInt32() int32

func (*PanicBuffer) ReadString

func (b *PanicBuffer) ReadString() string

func (*PanicBuffer) ReadUint16

func (b *PanicBuffer) ReadUint16() uint16

func (*PanicBuffer) ReadUint16BE

func (b *PanicBuffer) ReadUint16BE() uint16

func (*PanicBuffer) ReadUint32

func (b *PanicBuffer) ReadUint32() uint32

func (*PanicBuffer) ReadUint32BE

func (b *PanicBuffer) ReadUint32BE() uint32

func (*PanicBuffer) Skip

func (b *PanicBuffer) Skip(n int)

Jump to

Keyboard shortcuts

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