/** * Creates an unpacker that deserializes objects from a specified input. * <p> * {@link org.msgpack.core.buffer.MessageBufferInput} is an interface that lets applications customize memory * allocation of internal buffer of {@link MessageUnpacker}. * * @param in The input stream that provides sequence of buffer chunks and optionally reuses them when MessageUnpacker consumed one completely * @return A new MessageUnpacker instance */ public MessageUnpacker newUnpacker(MessageBufferInput in) { return new MessageUnpacker(in, this); }