Common utilities for IoTile Packages and Applications
The base 64 encoded string
The decoded ArrayBuffer
The destination buffer that we should copy into. There must be enough space in dest to hold what you are copying. This function will not allocate more space for you.
The source buffer to copy from
The offset in src to start copying from, 0 would mean copy from the beginning
The offset in dest to start copying into, 0 would mean to copy to the beginning of dest.
The number of bytes to copy from src into dest.
The device ID to convert into a slug
The streamer index to convert into a slug
The corresponding streamer slug
The number of milliseconds to wait
A promise that is fullfilled after delayMS milliseconds
The device ID to convert into a slug
The corresponding device slug
The input string
The suffix to check
Whether the string ends with the suffix
The format we are trying to determine the size of
The number of bytes required to store fmt
The string name of the variable that you want to convert
The numerical stream identifier
The number to convert to a hex string
The number of hex digits to pad out to.
The correspond lowercase hex string
The format string specifying the size of each argument
The packed resulting binary array buffer
The string we are trying to pad.
The padding character to add.
The length of the final string you want.
The correctgly padded string.
The format we are trying to determine the size of
A list of the parsed format codes that were extracted from the input format string.
The input string
The prefix to check
Whether the string ends with the suffix
The format string specifying the size of each argument
The packed ArrayBuffer that should be decoded using fmt
A list of numbers decoded from the buffer using fmt
Generated using TypeDoc
object
Utilities.object:base64ToArrayBuffer
Decode a Base 64 encoded string into an ArrayBuffer