BitStream Properties |
[This is preliminary documentation and is subject to change.]
The BitStream type exposes the following members.
| Name | Description | |
|---|---|---|
| BitAligned |
Whether or not the current BitPosition is evenly divisible by 8. I.e. whether or not the BitPosition is at a byte boundary.
| |
| BitLength |
Length of data (in bits) that is considered to be written to the stream.
| |
| BitPosition |
Bit offset into the buffer that new data will be written to.
| |
| CanRead |
Whether or not data can be read from the stream.
(Overrides StreamCanRead.) | |
| CanSeek |
Whether or not seeking is supported by this stream. (Always true)
(Overrides StreamCanSeek.) | |
| CanTimeout | (Inherited from Stream.) | |
| CanWrite |
Whether or not this stream can accept new data. NOTE: this will return true even if only fewer than 8 bits can be written!
(Overrides StreamCanWrite.) | |
| Capacity |
Current buffer size. The buffer will not be resized (if possible) until Position is equal to Capacity and an attempt to write data is made.
| |
| GrowthFactor |
Factor by which buffer should grow when necessary.
| |
| Length |
The current length of data considered to be "written" to the buffer.
(Overrides StreamLength.) | |
| Position |
The index that will be written to when any call to write data is made to this stream.
(Overrides StreamPosition.) | |
| ReadTimeout | (Inherited from Stream.) | |
| Resizable |
Whether or not the stream will grow the buffer to accomodate more data.
| |
| WriteTimeout | (Inherited from Stream.) |