Documentation ¶
Index ¶
- Variables
- func ByteToInt64(data []byte) (int64, error)
- func BytesToInts(b []byte) []int
- func BytesToString(b []byte) string
- func Int64ToByte(data int64) ([]byte, error)
- func JsonMarshal(v interface{}) ([]byte, error)
- func JsonUnmarshal(data []byte, v interface{}) error
- func JsonUnmarshalReader(reader io.Reader, v interface{}) error
- func ListToBytes(l *list.List) []byte
- func ListToInts(l *list.List) []int
- func StringToBytes(s string) []byte
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidData = errors.New("invalid data")
Functions ¶
func ByteToInt64 ¶
func BytesToInts ¶ added in v1.0.4
func BytesToString ¶
func Int64ToByte ¶
func JsonMarshal ¶
func JsonUnmarshal ¶
func JsonUnmarshalReader ¶
func ListToBytes ¶ added in v1.0.4
func ListToInts ¶ added in v1.0.4
func StringToBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.