Click or drag to resize

BitStream Methods

[This is preliminary documentation and is subject to change.]

The BitStream type exposes the following members.

Methods
  NameDescription
Public methodBeginRead (Inherited from Stream.)
Public methodBeginWrite (Inherited from Stream.)
Public methodClose (Inherited from Stream.)
Public methodCopyFrom(Stream, Int32)
Copy data from another stream
Public methodCopyFrom(BitStream, Int32, Boolean)
Copys the bits from the provided BitStream
Public methodCopyUnreadFrom
Public methodCreateObjRef (Inherited from MarshalByRefObject.)
Protected methodCreateWaitHandle Obsolete. (Inherited from Stream.)
Public methodDispose (Inherited from Stream.)
Protected methodDispose(Boolean) (Inherited from Stream.)
Public methodEndRead (Inherited from Stream.)
Public methodEndWrite (Inherited from Stream.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFlush
Flush stream. This does nothing since data is written directly to a byte buffer.
(Overrides StreamFlush.)
Public methodGetBuffer
Get the internal buffer being written to by this stream.
Public methodGetHashCode (Inherited from Object.)
Public methodGetLifetimeService (Inherited from MarshalByRefObject.)
Public methodGetType (Inherited from Object.)
Public methodInitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodMemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public methodPeekByte
Peeks a byte without advancing the position
Public methodRead
Read a subset of the stream buffer and write the contents to the supplied buffer.
(Overrides StreamRead(Byte, Int32, Int32).)
Public methodReadBit
Read a single bit from the stream.
Public methodReadByte
Read a byte from the buffer. This takes into account possible byte misalignment.
(Overrides StreamReadByte.)
Public methodSeek
Set position in stream to read from/write to.
(Overrides StreamSeek(Int64, SeekOrigin).)
Public methodSetLength
Set length of data considered to be "written" to the stream.
(Overrides StreamSetLength(Int64).)
Public methodToArray
Creates a copy of the internal buffer. This only contains the used bytes
Public methodToString
Returns hex encoded version of the buffer
(Overrides ObjectToString.)
Public methodWrite(Byte)
Write data from the given buffer to the internal stream buffer.
Public methodWrite(Byte, Int32, Int32)
Write data from the given buffer to the internal stream buffer.
(Overrides StreamWrite(Byte, Int32, Int32).)
Public methodWriteBit
Write a single bit to the stream
Public methodWriteByte (Inherited from Stream.)
Top
See Also