toBinary static method
Converts dataBytes to a binary string, zero-padded to zeroPadBitLen bits.
Implementation
static String toBinary(List<int> dataBytes, {int zeroPadBitLen = 0}) {
return BigintUtils.toBinary(
BigintUtils.fromBytes(dataBytes),
zeroPadBitLen: zeroPadBitLen,
);
}