dispmanx

package
v3.0.33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2021 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlignUp

func AlignUp(value, alignment uint32) uint32

Types

type Data

type Data struct {
	// contains filtered or unexported fields
}

func NewData

func NewData(size uint32) *Data

func (*Data) Byte

func (this *Data) Byte(offset uintptr) []byte

Byte returns byte array from a specific byte offset

func (*Data) Cap

func (this *Data) Cap() uint32

Cap returns number of bytes capacity

func (*Data) Dispose

func (this *Data) Dispose()

func (*Data) GetUint16

func (this *Data) GetUint16(offset uintptr) uint16

func (*Data) GetUint32

func (this *Data) GetUint32(offset uintptr) uint32

func (*Data) GetUint8

func (this *Data) GetUint8(offset uintptr) byte

func (*Data) Ptr

func (this *Data) Ptr() uintptr

Ptr returns ptr to the data

func (*Data) PtrMinusOffset

func (this *Data) PtrMinusOffset(offset uint32) uintptr

PtrMinusOffset returns ptr to the data. minus a specific byte offset

func (*Data) SetBit

func (this *Data) SetBit(offset uintptr, count uint32, bit bool)

func (*Data) SetUint16

func (this *Data) SetUint16(offset uintptr, count uint32, data uint16)

func (*Data) SetUint24

func (this *Data) SetUint24(offset uintptr, count uint32, data uint32)

func (*Data) SetUint32

func (this *Data) SetUint32(offset uintptr, count uint32, data uint32)

func (*Data) SetUint8

func (this *Data) SetUint8(offset uintptr, count uint32, data uint8)

func (*Data) String

func (this *Data) String() string

func (*Data) Uint16

func (this *Data) Uint16(offset uintptr) []uint16

Uint16 returns uint16 array from a specific byte offset

func (*Data) Uint32

func (this *Data) Uint32(offset uintptr) []uint32

Uint32 returns uint32 array from a specific byte offset

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL