예제 #1
0
 private void writeString(String s) {
   if (s == null) writeNIL();
   else
     try {
       buf.write(s.getBytes("UTF-8"));
     } catch (IOException e) {
       throw new AssertionError(e);
     }
 }
예제 #2
0
 private void writeStructuredData() {
   writeNIL(); // no structured data
 }