Documentation ¶
Index ¶
- func AlignUp(value, alignment uint32) uint32
- type Data
- func (this *Data) Byte(offset uintptr) []byte
- func (this *Data) Cap() uint32
- func (this *Data) Dispose()
- func (this *Data) GetUint16(offset uintptr) uint16
- func (this *Data) GetUint32(offset uintptr) uint32
- func (this *Data) GetUint8(offset uintptr) byte
- func (this *Data) Ptr() uintptr
- func (this *Data) PtrMinusOffset(offset uint32) uintptr
- func (this *Data) SetBit(offset uintptr, count uint32, bit bool)
- func (this *Data) SetUint16(offset uintptr, count uint32, data uint16)
- func (this *Data) SetUint24(offset uintptr, count uint32, data uint32)
- func (this *Data) SetUint32(offset uintptr, count uint32, data uint32)
- func (this *Data) SetUint8(offset uintptr, count uint32, data uint8)
- func (this *Data) String() string
- func (this *Data) Uint16(offset uintptr) []uint16
- func (this *Data) Uint32(offset uintptr) []uint32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Data ¶
type Data struct {
// contains filtered or unexported fields
}
func (*Data) PtrMinusOffset ¶
PtrMinusOffset returns ptr to the data. minus a specific byte offset
Click to show internal directories.
Click to hide internal directories.