API Docs for:
Show:

QrCode Class

Item Index

Methods

Methods

numberToBinaryString

(
  • number
  • length
)
String static

Converts a decimal non-negative integer to a string containing '1' and '0' characters. If the number does not fit within the given length, null is returned. If the number is smaller than the given length, it is padded with '0' and a string with the given length is returned.

Parameters:

Returns: