serial

package
v2.10.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByteToHexString added in v1.17.1

func ByteToHexString(value byte) string

func BytesToHexString added in v1.17.1

func BytesToHexString(value []byte) string

func BytesToInt64 added in v1.17.1

func BytesToInt64(value []byte) int64

func BytesToUint16 added in v1.17.1

func BytesToUint16(value []byte) uint16

func BytesToUint32 added in v1.17.1

func BytesToUint32(value []byte) uint32

func Concat

func Concat(v ...interface{}) string

func Int64ToBytes added in v1.17.1

func Int64ToBytes(value int64, b []byte) []byte

func Int64ToString added in v1.17.1

func Int64ToString(value int64) string

func IntToBytes added in v1.17.1

func IntToBytes(value int, b []byte) []byte

func IntToString added in v1.17.1

func IntToString(value int) string

func ToString

func ToString(v interface{}) string

func Uint16ToBytes added in v1.17.1

func Uint16ToBytes(value uint16, b []byte) []byte

func Uint16ToString added in v1.17.1

func Uint16ToString(value uint16) string

func Uint32ToBytes added in v1.17.1

func Uint32ToBytes(value uint32, b []byte) []byte

func Uint32ToString added in v1.18.1

func Uint32ToString(value uint32) string

func WriteHash

func WriteHash(h hash.Hash) func([]byte) (int, error)

func WriteString

func WriteString(s string) func([]byte) (int, error)

func WriteUint16

func WriteUint16(value uint16) func([]byte) (int, error)

func WriteUint32

func WriteUint32(value uint32) func([]byte) (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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