Beispiel #1
0
 public void writeUString(String text) {
   writeUChars(text);
   writeUShort(0);
 }
Beispiel #2
0
  public void writeData(BinBuffer buffer) {
    super.writeData(buffer);

    buffer.writeUShort(value.length());
    buffer.writeChars(value);
  }
Beispiel #3
0
 public void writeUChars(String text) {
   for (int i = 0; i < text.length(); i++) writeUShort(text.charAt(i));
 }