@Override
    public void read(DataInput stream) throws IOException {
      long size = mySize.getValue();
      myBuffer.setLength(0);
      myBytes = new byte[(int)size];
      for (int i = 0; i < size; ++i) {
        myBytes[i] = stream.readByte();
      }
      for (int i = 0; i < size; ++i) {
        int b = java.lang.Byte.toUnsignedInt(myBytes[i]);
        if (b != 0) {
          myBuffer.append((char)b);
        }
      }
    }
@Override
    public void read(DataInput stream)