@Override
    protected <T> byte[] toByteArray(T message, Schema<T> schema)
    {
        return ProtostuffIOUtil.toByteArray(message, schema, buf());
    }
Test the buffering output capability of {@link ProtostuffOutput}.

@author David Yu
@created Sep 19, 2010
protostuff-core/src/test/java/io/protostuff/ProtostuffBufferedOutputTest.java