mocks

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: GPL-3.0 Imports: 2 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataByte

func DataByte(testByte []byte, bufPtr *byte) (error errno.Error)

func DataIdByte

func DataIdByte(testId uint32, id uint32, testByte []byte, bufPtr *byte) errno.Error

func DataIdByteFunction

func DataIdByteFunction(testId uint32, testByte []byte) idDataFunction

func DataIdKey

func DataIdKey(testId uint32, resId uint32, key string, data map[string][]byte, dataPtr *byte) (error errno.Error)

func DataIdKeyFunction

func DataIdKeyFunction(testId uint32, data map[string][]byte) func(uint32, string, *byte) (error errno.Error)

Writes data relative to the key to the dataPtr passed to the function

func DataIdString

func DataIdString(testId uint32, id uint32, testString string, bufPtr *byte) errno.Error

func DataIdStringFunction

func DataIdStringFunction(testId uint32, testString string) idDataFunction

func DataIdStringFunctionSafe

func DataIdStringFunctionSafe(testId uint32, testString string) idDataFunctionSafe

Not actually safe, simply ignoring the shared size.

func DataString

func DataString(testString string, stringPtr *byte) (error errno.Error)

func DataStringFunction

func DataStringFunction(testString string) func(*byte) (error errno.Error)

func SizeByte

func SizeByte(testByte []byte, sizePtr *uint32) errno.Error

func SizeIdByte

func SizeIdByte(testId uint32, id uint32, testByte []byte, sizePtr *uint32) errno.Error

func SizeIdByteFunction

func SizeIdByteFunction(testId uint32, testByte []byte) idSizeFunction

func SizeIdKey

func SizeIdKey(testId uint32, id uint32, key string, data map[string][]byte, sizePtr *uint32) (error errno.Error)

func SizeIdKeyFunction

func SizeIdKeyFunction(testId uint32, data map[string][]byte) idKeyPtrFunction

Writes data size relative to the key to the sizePtr passed to the function

func SizeIdString

func SizeIdString(testId uint32, id uint32, testString string, sizePtr *uint32) errno.Error

func SizeIdStringFunction

func SizeIdStringFunction(testId uint32, testString string) idSizeFunction

func SizeString

func SizeString(testString string, sizePtr *uint32) errno.Error

func SizeStringFunction

func SizeStringFunction(testString string) func(*uint32) errno.Error

Types

This section is empty.

Jump to

Keyboard shortcuts

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