Exemplo n.º 1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
            public virtual void read(StateInputStream stream)
            {
                stream.readVersion(STATE_VERSION);
                rm = stream.readInt();
                c  = stream.readBoolean();
                fs = stream.readBoolean();
            }
Exemplo n.º 2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            stream.readInts(data);
            dataIndex    = stream.readInt();
            endDataIndex = stream.readBoolean();
            error        = stream.readInt();
            base.read(stream);
        }
Exemplo n.º 3
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public virtual void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            deviceName = stream.readString();
            dirName    = stream.readString();
            fileName   = stream.readString();
            fileName83 = stream.readString();
            directory  = stream.readBoolean();
            readOnly   = stream.readBoolean();
            int time = stream.readInt();

            if (time == 0)
            {
                lastModified = null;
            }
            else
            {
                lastModified = ScePspDateTime.fromMSDOSTime(time);
            }
            fileSize = stream.readLong();
            clusters = stream.readIntsWithLength();
            fileData = stream.readBytesWithLength();
            closeVirtualFile();
        }
Exemplo n.º 4
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public override void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            dumpIoIoctl_0x02125803 = stream.readBytesWithLength();
            position = stream.readLong();
            bool vFilePresent = stream.readBoolean();

            if (vFilePresent)
            {
                openFile();
                vFile.read(stream);
            }

            base.read(stream);
        }
Exemplo n.º 5
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void read(pspsharp.state.StateInputStream stream) throws java.io.IOException
        public virtual void read(StateInputStream stream)
        {
            stream.readVersion(STATE_VERSION);
            name    = stream.readString();
            started = stream.readBoolean();
        }