These methods don't deserialize contents.
You need to call unpack method to deserialize contents at your own risk.
// serialized data is [1, "Hi!"];intnum;
unpacker.beginArray(2).unpack(num); // num is 1// other operationstringstr;
unpacker.unpack(str); // str is "Hi!"
Deserializes the type-information of container.
These methods don't deserialize contents. You need to call unpack method to deserialize contents at your own risk.