msg64

package
v0.0.0-...-df37d59 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base41Decode

func Base41Decode(str string) ([]byte, bool)

Base41Decode decodes string to bytes

func Base41Encode

func Base41Encode(buf []byte) string

Base41Encode encodes bytes to string

func Crc16b

func Crc16b(crc uint16, v []byte) uint16

func Crc16n

func Crc16n(crc uint16, b byte) uint16

func Crc16s

func Crc16s(crc uint16, v string) uint16

func Decode

func Decode(buf []byte, payload interface{}) string

Decode decodes the buffer into a struct and a string

func Encode

func Encode(str string, payload interface{}) []byte

Encode encodes a string and a struct into a buffer

Types

This section is empty.

Jump to

Keyboard shortcuts

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