static void checkEncodedStringWithVarDelimited(byte[] buffer, String str, int offset, int len) throws Exception
    {
        assertEquals(len, readRawVarint32(buffer, offset));

        String deser = STRING.deser(buffer, offset + 2, len);

        assertEquals(str.length(), deser.length());
        assertEquals(str, deser);
    }
Tests for streaming UTF-8 Encoding

@author David Yu
@created Sep 18, 2010
protostuff-api/src/test/java/io/protostuff/StreamedStringSerializerTest.java