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

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