@Override
        public <T extends Message<T>> void mergeFrom(byte[] data, T message) throws IOException
        {
            final CodedInput input = new CodedInput(data, 0, data.length, true);
            message.cachedSchema().mergeFrom(input, message);
            input.checkLastTagWas(0);
        }
Benchmark to compare the deserialization speed of 2 types. CodedInput and ByteArrayInput.

@author David Yu
@created Jun 22, 2010
protostuff-core/src/test/java/io/protostuff/CompareInputsTest.java