BinStrToULongLong
unsigned long long BinStrToULongLong (const char binaryString[], int *overflow);
Purpose
Converts a nul-terminated binary string to an unsigned 64-bit integer value.
If the bytes in the nul-terminated string contain a valid binary representation of an unsigned 64-bit integer value, this function returns the unsigned 64-bit integer value. Otherwise, this function returns 0.
Parameters
Input | ||
Name | Type | Description |
binaryString | const char[] | A nul-terminated binary string. |
Output | ||
Name | Type | Description |
overflow | int | An indicator that the value in the binary string was too large to fit in the datatype. |
Return Value
Name | Type | Description |
unsignedLongLong | unsigned long long | If the bytes in the nul-terminated string contain a valid binary representation of an unsigned 64-bit integer value, this function returns the unsigned 64-bit integer value. Otherwise, this function returns 0. |
Additional Information
Library: Programmer's Toolbox
Include file: toolbox\toolbox.h
LabWindows/CVI compatibility: LabWindows/CVI 2009 and later