Documentation ¶
Index ¶
- func ParseBytes(data []byte, idx int, length int) (int, []byte, error)
- func ParseCString(data []byte, idx int) (int, string, error)
- func ParseInt16(data []byte, idx int) (int, int)
- func ParseInt32(data []byte, idx int) (int, int)
- func ReadInt32(reader io.Reader) (int, error)
- func WriteByte(data []byte, idx int, value byte) int
- func WriteByteSafe(data []byte, idx int, value byte) (int, []byte)
- func WriteBytes(data []byte, idx int, value []byte) int
- func WriteBytesSafe(data []byte, idx int, value []byte) (int, []byte)
- func WriteCString(data []byte, idx int, value string) int
- func WriteCStringSafe(data []byte, idx int, value string) (int, []byte)
- func WriteInt16(data []byte, idx int, value int) int
- func WriteInt16Safe(data []byte, idx int, value int) (int, []byte)
- func WriteInt32(data []byte, idx int, value int) int
- func WriteInt32Safe(data []byte, idx int, value int) (int, []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseInt32 ¶
Functions to parse from a byte slice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.