new ByteCountedString("test/DateObject").writeTo(out);
out.writeBoolean(false);
                public void writeTo(DataOutputStream out) throws IOException {                    new ByteCountedString("test/DateObject").writeTo(out);                }