Documentation ¶
Index ¶
- func BinaryDateTime(data []byte, t types.Time) []byte
- func BinaryTime(dur time.Duration) (data []byte)
- func LengthEncodedInt(buffer []byte, n uint64) []byte
- func LengthEncodedString(buffer []byte, bytes []byte) []byte
- func Uint16(buffer []byte, n uint16) []byte
- func Uint32(buffer []byte, n uint32) []byte
- func Uint64(buffer []byte, n uint64) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinaryDateTime ¶
BinaryDateTime dumps a datetime as binary byte slice.
func BinaryTime ¶
BinaryTime dumps a time as binary byte slice.
func LengthEncodedInt ¶
LengthEncodedInt dumps an integer as length encoded byte slice.
func LengthEncodedString ¶
LengthEncodedString dumps a string as length encoded byte slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.