cbor2
    Preparing search index...

    Function writeNumber

    • Write a number, be it integer or floating point, to the stream, along with the appropriate major type.

      Parameters

      • val: number

        Number.

      • w: Writer

        Writer.

      • opts: Required

        Encoding options.

      Returns void