Method | Description | |
---|---|---|
Close ( ) : void | ||
Flush ( ) : void | ||
Read ( byte buffer, int offset, int count ) : int |
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
|
|
ReadByte ( ) : int | ||
Seek ( long offset, SeekOrigin origin ) : long | ||
SetLength ( long value ) : void | ||
Write ( byte buffer, int offset, int count ) : void |
Method | Description | |
---|---|---|
ApplyBsd0Patch ( PatchInfoHeader &patchInfoHeader, PatchHeader &patchHeader, uint patchLength, byte originalData ) : byte[] | ||
ApplyCopyPatch ( PatchInfoHeader &patchInfoHeader, PatchHeader &patchHeader, uint patchLength, byte originalData ) : byte[] | ||
ApplyPatch ( PatchInfoHeader patchInfoHeader, Stream baseStream ) : byte[] | ||
MpqFileStream ( |
||
Read ( byte buffer, int count ) : int | ||
ReadBlock ( int block ) : void | ||
ReadBlockOffsets ( |
||
ReadPatchInfoHeader ( |
||
TestPatchHeader ( |
||
UnpackRle ( uint compressedLength ) : byte[] | ||
UpdateBuffer ( ) : void |
public final Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | An array of bytes. When this method returns, the buffer contains the specified byte array with the values between |
offset | int | The zero-based byte offset in |
count | int | The maximum number of bytes to be read from the current stream. |
return | int |
public final Seek ( long offset, SeekOrigin origin ) : long | ||
offset | long | |
origin | SeekOrigin | |
return | long |
public final Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | |
offset | int | |
count | int | |
return | void |