code: void readFieldsFromFSEditLog(DataInput in) throws IOException {
      this.name = UTF8.readString(in);
      this.storageID = UTF8.readString(in);
      this.infoPort = in.readShort() & 0x0000ffff;
  
      this.capacity = in.readLong();
      this.dfsUsed = in.readLong();
      this.remaining = in.readLong();
      this.lastUpdate = in.readLong();
      this.xceiverCount = in.readInt();
      this.location = Text.readString(in);
      this.hostName = Text.readString(in);
      setAdminState(WritableUtils.readEnum(in, AdminStates.class));
    }
docs: Serialization for FSEditLog