public static <T> void mergeFrom(byte[] data, int offset, int length, T message, 
            Schema<T> schema, boolean numeric) throws IOException
    {
        final IOContext context = new IOContext(DEFAULT_JSON_FACTORY._getBufferRecycler(), 
                data, false);
        final JsonParser parser = newJsonParser(null, data, offset, offset+length, false, 
                context);
        /*final JsonParser parser = DEFAULT_JSON_FACTORY.createJsonParser(data, offset, 
                length);*/
        try
        {
            mergeFrom(parser, message, schema, numeric);
        }
        finally
        {
            parser.close();
        }
    }
public static < T > void mergeFrom ( byte [ ] data , int offset , int length , T message , Schema < T > schema , boolean numeric ) throws IOException { final IOContext context = new IOContext ( DEFAULT_JSON_FACTORY . _getBufferRecycler ( ) , data , false ) ; final JsonParser parser = newJsonParser ( null , data , offset , offset + length , false , context ) ; try { mergeFrom ( parser , message , schema , numeric ) ; } finally { parser . close ( ) ; } }
Merges the {@code message} with the byte array using the given {@code schema}.