enc

package
v0.0.0-...-a3e95bc Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeBytesToUnit64

func DecodeBytesToUnit64(b []byte) uint64

DecodeBytesToUnit64 decodes sequence of bytes to uint64.

func Sn2Bin

func Sn2Bin(v uint64) string

EncodeUint64ToString encodes uint64 to the sequence of bytes.

func To36Base

func To36Base(exportId uint64) string

To36Base creates a string value of service INT id.

func UnsafeBytesToString

func UnsafeBytesToString(b []byte) string

func UnsafeStringToBytes

func UnsafeStringToBytes(s string) []byte

func WriteArraySize

func WriteArraySize(b *bufio.Writer, l int) error

func WriteBool

func WriteBool(b *bufio.Writer, v bool) (err error)

func WriteBytes

func WriteBytes(b *bufio.Writer, v []byte) error

func WriteDict

func WriteDict(b *bufio.Writer, dict map[string]interface{}) error

func WriteDictSize

func WriteDictSize(b *bufio.Writer, l int) error

func WriteError

func WriteError(b *bufio.Writer, code int64, text string) error

func WriteInt64

func WriteInt64(b *bufio.Writer, v int64) error

func WriteString

func WriteString(b *bufio.Writer, v string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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