toBinaryString function

String toBinaryString(
  1. int i
)

Implementation

String toBinaryString(int i) {
  String binString = binaryToString(i);
  return replacePrefixZero(binString);
}