toBinary static method
Converts a list of bytes to a binary string representation.
Converts the input list of bytes to a binary string, optionally adding leading zeros to ensure a specific bit length.
Implementation
static String toBinary(List<int> dataBytes, {int zeroPadBitLen = 0}) {
return BigintUtils.toBinary(
BigintUtils.fromBytes(dataBytes), zeroPadBitLen);
}