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

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