Exemple #1
0
  @Override
  public void decode(IXInputStream inputStream) throws IOException {
    userId = inputStream.readUTF();

    posX = inputStream.readInt();

    posY = inputStream.readInt();
  }
  @Override
  public void decode(IXInputStream inputStream) throws IOException {
    title = inputStream.readUTF();

    content = inputStream.readUTF();

    toolIds = inputStream.readUTF();

    lodoIds = inputStream.readUTF();

    target = inputStream.readUTF();

    date = inputStream.readLong();

    sourceId = inputStream.readUTF();

    partner = inputStream.readUTF();
  }