# Functions
ForceFirstTwoBytesAndSwapLast forces the first two bytes of the input value to be 0x18da.
HexToDecimal takes a hex string and converts it to a uint32 decimal representation.
IsHexFrames checks if the input string consists of valid hexadecimal strings separated by newline characters.
IsValidHex checks if the input string is a valid hexadecimal.
Retry attempts to execute the provided function until it succeeds or the maximum number of attempts is reached.
RetryErrorOnly attempts to execute the provided function until it succeeds or the maximum number of attempts is reached.
UintToHexStr converts the uint32 into a 0 padded hex representation, always assuming must be even length.
# Structs
Stop is an error that wraps an error and is used to indicate that we should not retry.
# Interfaces
PointerType Define a type constraint that allows only pointer types.
# Type aliases
RetryableFunc This is the function type that we will retry.
RetryableFuncErr This is the function type that we will retry that only returns an error.