protected <T extends Message<T>> byte[] toByteArray(T message)
    {
        return toByteArray(message, message.cachedSchema());
    }
Serializes the {@code message} into a byte array.
protostuff-core/src/test/java/io/protostuff/StandardTest.java