comm

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

View Source
const (
	Uint32Size = 4
	Uint16Size = 2
)

Variables

View Source
var NotImplementProtoMessageError = errors.New("param must implement proto.Message")
View Source
var UnmarshalError = errors.New("error occurred in Unmarshal")

Functions

func BinaryReadString

func BinaryReadString(data []byte) (string, int)

func BinaryWriteString

func BinaryWriteString(data []byte, str string) int

func GetWriteFile

func GetWriteFile(chunkIndex uint16, filename string) (f *os.File, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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