Skip to content

Fixed length encoding of integer numbers #106

Open
@Pique7

Description

@Pique7

I've already asked a similar question (#101 (comment)).

Is there a concept in CBOR to encode integers in a fixed byte length (e.g. BYTE, INT16, INT32, ...)?

I haven't found anything helpful yet. Perhaps it would make sense to define a CBOR tag for this purpose, but I am not a low level programming expert. So I can't say what needs to considered when defining this kind of (primitive) data type.

Background of this issue is the need for a CBOR data structure whose length is not changed when an integer value is altered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions