tbin

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int16 added in v1.0.5

func Int16(reader io.Reader) (int16, error)

func Int32 added in v1.0.5

func Int32(reader io.Reader) (int32, error)

func Int64 added in v1.0.5

func Int64(reader io.Reader) (int64, error)

func Int8 added in v1.0.5

func Int8(reader io.Reader) (int8, error)

func TuxleString

func TuxleString(reader *bufio.Reader) (string, error)

Read a string that ends with '\x00' (null character)

func Uint16

func Uint16(reader io.Reader) (uint16, error)

func Uint32

func Uint32(reader io.Reader) (uint32, error)

func Uint64

func Uint64(reader io.Reader) (uint64, error)

func Uint8

func Uint8(reader io.Reader) (uint8, error)

func WriteInt16 added in v1.0.5

func WriteInt16(writer io.Writer, in int16) error

func WriteInt32 added in v1.0.5

func WriteInt32(writer io.Writer, in int32) error

func WriteInt64 added in v1.0.5

func WriteInt64(writer io.Writer, in int64) error

func WriteInt8 added in v1.0.5

func WriteInt8(writer io.Writer, in int8) error

func WriteTuxleString

func WriteTuxleString(writer io.Writer, in string) error

Write a string that ends with '\x00' (null character)

func WriteUint16

func WriteUint16(writer io.Writer, in uint16) error

func WriteUint32

func WriteUint32(writer io.Writer, in uint32) error

func WriteUint64

func WriteUint64(writer io.Writer, in uint64) error

func WriteUint8

func WriteUint8(writer io.Writer, in uint8) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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