public static <T> void mergeFrom(byte[] data, int offset, int length, T message, Schema<T> schema, boolean numeric)
            throws IOException
    {

        ArrayBufferInput bios = new ArrayBufferInput(data, offset, length);

        MessageUnpacker unpacker = MessagePack.newDefaultUnpacker(bios);

        try
        {
            mergeFrom(unpacker, message, schema, numeric);
        }
        finally
        {
            unpacker.close();
        }
    }
public static < T > void mergeFrom ( byte [ ] data , int offset , int length , T message , Schema < T > schema , boolean numeric ) throws IOException { ArrayBufferInput bios = new ArrayBufferInput ( data , offset , length ) ; MessageUnpacker unpacker = MessagePack . newDefaultUnpacker ( bios ) ; try { mergeFrom ( unpacker , message , schema , numeric ) ; } finally { unpacker . close ( ) ; } }
Merges the {@code message} with the byte array using the given {@code schema}.