Skip to content

Int16 (maybe others) don't deserialize propely #3

@MarcoPolo

Description

@MarcoPolo

Repro:

import "package:msgpack2/msgpack2.dart";

main(List<String> arguments) {
  final List<int> data = [0xd1, 0x04, 0xd2];
  print(deserialize(data));
}

Note the 0x04d2 has no leading 1 bit so it should be positive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions