utils

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader struct {
	Src io.Reader
}

func CreateBytesReader

func CreateBytesReader(src []byte) *Reader

func CreateReader

func CreateReader(src io.Reader) *Reader

func (*Reader) ReadBytes

func (r *Reader) ReadBytes(n int) []byte

func (*Reader) U1

func (r *Reader) U1() uint8

func (*Reader) U2

func (r *Reader) U2() uint16

func (*Reader) U4

func (r *Reader) U4() uint32

func (*Reader) U8

func (r *Reader) U8() uint64

Jump to

Keyboard shortcuts

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