Function uint64ToBuffer

  • Converts UInt64 number to the buffer

    Parameters

    • value: number

      UInt64 number

    • littleEndian: boolean = false

      Little or Big endian. Default is Big endian.

    Returns Buffer

    Buffer with encoded UInt64 number