<T> void writeObjectEncodedAsGroup(int fieldNumber, T value, Schema<T> schema,
            boolean repeated) throws IOException
    {
        int startTag = WireFormat.makeTag(fieldNumber, WireFormat.WIRETYPE_START_GROUP);
        byte[] startBytes = getTagBytes(startTag);
        current = new ByteArrayNode(startBytes, current);

        schema.writeTo(this, value);

        int endTag = WireFormat.makeTag(fieldNumber, WireFormat.WIRETYPE_END_GROUP);
        byte[] endBytes = getTagBytes(endTag);
        current = new ByteArrayNode(endBytes, current);

        size += (startBytes.length + endBytes.length);
    }
Write the nested message encoded as group.
protostuff-core/src/test/java/io/protostuff/DeferredOutput.java