Content


NTL
Core
BinToByte

BinToByte


Convert binary character to integer. c should be either '0' or '1'.

Return 255 if character is not in 0..1 range.

unsigned char BinToByte(const wchar_t c);
unsigned char BinToByte(const char c);
Namespace: nitisa
Include: Nitisa/Core/Strings.h