Input read = new UnsafeInput(write.toBytes());
assertEquals(value, read.readString());
assertEquals(value, read.readStringBuilder().toString());
write.clear();
write.writeString(buffer);
write.writeString(buffer);
read = new UnsafeInput(write.toBytes());
assertEquals(value, read.readStringBuilder().toString());
assertEquals(value, read.readString());