Skip to content

Fails to unpack numbers > UINT_MAX (4294967295) #2

Open

Description

@mortiy

Such code works:

var UINT_MAX = 4294967295;

BinaryPack.unpack(
    BinaryPack.pack(
        { number: UINT_MAX }
    )
);

This throws ( RangeError: Maximum call stack size exceeded ):

BinaryPack.unpack(
    BinaryPack.pack(
        { number: UINT_MAX + 1 }
    )
);

Activity

  1. added a commit that references this issue on Dec 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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