//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: @Override public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException public override void write(StateOutputStream stream) { stream.writeVersion(STATE_VERSION); stream.writeBytesWithLength(dumpIoIoctl_0x02125803); stream.writeLong(position); if (vFile != null) { stream.writeBoolean(true); vFile.write(stream); } else { stream.writeBoolean(false); } base.write(stream); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: public void write(pspsharp.state.StateOutputStream stream) throws java.io.IOException public virtual void write(StateOutputStream stream) { stream.writeVersion(STATE_VERSION); stream.writeString(deviceName); stream.writeString(dirName); stream.writeString(fileName); stream.writeString(fileName83); stream.writeBoolean(directory); stream.writeBoolean(readOnly); if (lastModified == null) { stream.writeInt(0); } else { stream.writeInt(lastModified.toMSDOSTime()); } stream.writeLong(fileSize); stream.writeIntsWithLength(clusters); stream.writeBytesWithLength(fileData); }