BPSUnpackStream ​
Represents a class for parsing and handling BPS (Binary Patching System) files.
Kind: Class
Namespace: ConnectorLib.Patches
Inheritance: Stream → IAsyncDisposable → IDisposable
Public Constructors
BPSUnpackStream(Stream bps, Stream source, bool validate = true)
Creates a new instance of the ConnectorLib.Patches.BPSUnpackStream class.
Public Member Functions
virtual override
long
Seek(long offset, SeekOrigin origin)
virtual override
void
SetLength(long value)
virtual override
int
Read(byte[] buffer, int offset, int count)
virtual override
void
Write(byte[] buffer, int offset, int count)
virtual override
void
Flush()
virtual override
Task
WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
virtual override
void
WriteByte(byte value)
void
WriteTo(Stream stream)
Writes the contents of the patch stream to the specified stream.
Properties
bool
CanRead
[get, ]
bool
CanSeek
[get, ]
bool
CanWrite
[get, ]
long
Length
[get, ]
long
Position
[get, set]
