Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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. |
Результат | int |
public final Seek ( long offset, SeekOrigin origin ) : long | ||
offset | long | |
origin | SeekOrigin | |
Результат | long |
public final SetLength ( long value ) : void | ||
value | long | |
Результат | void |
public final Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | |
offset | int | |
count | int | |
Результат | void |