Skip to content

Clarify offset and length related types #146

@OleksandrKvl

Description

@OleksandrKvl

Currently, offset and message.blockLength are specified as unsignedInt (32-bit) while type.length is nonNegativeInteger which is by spec "unbounded" which I guess can be treated as "at least 64-bit". In this way offset is unable to represent the full range of potential sizes. I think:

  1. They should have the same type.
  2. Maybe it makes sense to use unsignedLong (64-bit) to make it more specific rather than vague nonNegativeInteger which doesn't impose any limitation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions