stream

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 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 Stream

type Stream struct {
	*bytes.Reader
	// contains filtered or unexported fields
}

func New

func New(data []byte) *Stream

func (*Stream) PeekChar

func (s *Stream) PeekChar() byte

func (*Stream) Pos

func (s *Stream) Pos() int64

func (*Stream) ReadCString

func (s *Stream) ReadCString() string

func (*Stream) ReadFString

func (s *Stream) ReadFString(n int) string

func (*Stream) ReadInt16

func (s *Stream) ReadInt16() int

func (*Stream) ReadInt32

func (s *Stream) ReadInt32() int

func (*Stream) ReadObject

func (s *Stream) ReadObject(v any) error

func (*Stream) SetOrder

func (s *Stream) SetOrder(order binary.ByteOrder)

Jump to

Keyboard shortcuts

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