Beispiel #1
0
//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.writeInt(rm);
                stream.writeBoolean(c);
                stream.writeBoolean(fs);
            }
Beispiel #2
0
//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.writeInts(data);
            stream.writeInt(dataIndex);
            stream.writeBoolean(endDataIndex);
            stream.writeInt(error);
            base.write(stream);
        }
Beispiel #3
0
//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);
        }
Beispiel #4
0
//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);
        }
Beispiel #5
0
//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(name);
            stream.writeBoolean(started);
        }