file

package
v0.0.0-...-6d3268d Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFloat32BE

func GetFloat32BE(b []byte) float32

func GetFloat32LE

func GetFloat32LE(b []byte) float32

func GetFloat64BE

func GetFloat64BE(b []byte) float64

func GetFloat64LE

func GetFloat64LE(b []byte) float64

func GetUint16BE

func GetUint16BE(b []byte) uint16

func GetUint16LE

func GetUint16LE(b []byte) uint16

func GetUint32BE

func GetUint32BE(b []byte) uint32

func GetUint32LE

func GetUint32LE(b []byte) uint32

func GetUint64BE

func GetUint64BE(b []byte) uint64

func GetUint64LE

func GetUint64LE(b []byte) uint64

func GetUvarint

func GetUvarint(b []byte) (uint64, int)

func GetVarint

func GetVarint(b []byte) (int64, int)

func PutFloat32BE

func PutFloat32BE(b []byte, v float32)

func PutFloat32LE

func PutFloat32LE(b []byte, v float32)

func PutFloat64BE

func PutFloat64BE(b []byte, v float64)

func PutFloat64LE

func PutFloat64LE(b []byte, v float64)

func PutUint16BE

func PutUint16BE(b []byte, v uint16)

func PutUint16LE

func PutUint16LE(b []byte, v uint16)

func PutUint32BE

func PutUint32BE(b []byte, v uint32)

func PutUint32LE

func PutUint32LE(b []byte, v uint32)

func PutUint64BE

func PutUint64BE(b []byte, v uint64)

func PutUint64LE

func PutUint64LE(b []byte, v uint64)

func PutUvarint

func PutUvarint(b []byte, v uint64) int

func PutVarint

func PutVarint(b []byte, v int64) int

func ReadUvarint

func ReadUvarint(r io.ByteReader) (uint64, error)

func ReadVarint

func ReadVarint(r io.ByteReader) (int64, error)

func UvarintSize

func UvarintSize(x uint64) int

func VarintSize

func VarintSize(x int64) int

Types

type VPRFile

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

func NewVPRFile

func NewVPRFile(filename string) (*VPRFile, error)

func (*VPRFile) Close

func (f *VPRFile) Close() error

func (*VPRFile) GetByte

func (f *VPRFile) GetByte() (byte, error)

func (*VPRFile) GetFloat32

func (f *VPRFile) GetFloat32() (float32, error)

func (*VPRFile) GetFloat64

func (f *VPRFile) GetFloat64() (float64, error)

func (*VPRFile) GetInt

func (f *VPRFile) GetInt() (int, error)

func (*VPRFile) PutByte

func (f *VPRFile) PutByte(v byte) error

func (*VPRFile) PutFloat64

func (f *VPRFile) PutFloat64(v float64) (int, error)

func (*VPRFile) PutInt

func (f *VPRFile) PutInt(v int) (int, error)

Jump to

Keyboard shortcuts

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