forked from Neodymium146/gta-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 15
RageLib.Data.PartialStream
Jérémie N'gadi edited this page Aug 5, 2018
·
3 revisions
Represents a part of a stream.
namespace: RageLib.Data
-
Stream
PartialStream
public class PartialStream
⬜ | prototype | description |
---|---|---|
method | PartialStream (Stream baseStream, GetOffsetDelegate getOffsetDelegate, GetLengthDelegate getLengthDelegate, SetLengthDelegate setLengthDelegate=null) |
__ |
⬜ | name | description |
---|---|---|
property | CanRead |
Gets a value indicating whether the stream supports reading. |
property | CanSeek |
Gets a value indicating whether the stream supports seeking. |
property | CanWrite |
Gets a value indicating whether the stream supports writing. |
property | Length |
Gets the length of the stream. |
property | Position |
Gets or sets the position within the stream. |
⬜ | prototype | description |
---|---|---|
method | void Flush() |
Clears all buffers for the stream. |
method | int Read(byte[] buffer, int offset, int count) |
Reads a sequence of bytes from the stream. |
method | long Seek(long offset, SeekOrigin origin) |
Sets the position within the stream. |
method | void SetLength(long value) |
Sets the length of the stream. |
method | void Write(byte[] buffer, int offset, int count) |
Writes a sequence of bytes to the stream. |
⬜ | name | description |
---|