Skip to content

Serialization of negative int value #5

Closed
@chrisCesar34

Description

@chrisCesar34

When serializing an object having negative int value for one of its instance field, the returned serialized object have a weird value instead of the negative int value.

For example, if I call the following piece of code with an object having -50 as value for one of its int field, the serialized value for this field is 4294967246;

VPack vpack = vpack();
System.out.println(vpack.serialize(object).toString());

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions