Documentation ¶
Index ¶
- func IntTo2Bytes(i int) []byte
- func IntTo4Bytes(i int) []byte
- func IntToByte(i int) []byte
- func LoadUTFString(r io.Reader) (string, error)
- func MarshalBlockDataByte(data []byte) []byte
- func MarshalBlockDataBytes(data []byte) []byte
- func MarshalUTFString(str string) []byte
- func Read2ByteToInt(r io.Reader) (int, error)
- func Read4ByteToInt(r io.Reader) (int, error)
- func Read4ByteToUint64(r io.Reader) (uint64, error)
- func Read8BytesToUint64(r io.Reader) (uint64, error)
- func ReadByteToInt(r io.Reader) (int, error)
- func ReadBytesLength(r io.Reader, length uint64) ([]byte, error)
- func ReadBytesLengthInt(r io.Reader, length int) ([]byte, error)
- func Uint64To4Bytes(i uint64) []byte
- func Uint64To8Bytes(i uint64) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IntTo2Bytes ¶
func IntTo4Bytes ¶
func MarshalBlockDataByte ¶
func MarshalBlockDataBytes ¶
func MarshalUTFString ¶
func ReadBytesLength ¶
utils method
func Uint64To4Bytes ¶
func Uint64To8Bytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.