ip-num
    Preparing search index...

    Function decimalNumberToOctetString

    • Converts a decimal number to binary octet (8 bit) string. If needed the octet will be padded with zeros to make it up to 8 bits

      Parameters

      • num: number | bigint

        to convert to octet string

      Returns string

      the octet string representation of given number