@Override
    public void read(DataInput stream) throws IOException {
      StringBuilder valueBuilder = new StringBuilder();
      while(true) {
        char c = BitsUtil.readChar(stream);
        if (c == 0) break;
        valueBuilder.append(c);
      }
      myValue = valueBuilder.toString();
    }
@Override
    public void read(DataInput stream)