Click or drag to resize

BinaryStream Class

Represents a wrapper around a Stream to read from and write to it with default data format configurations.
Inheritance Hierarchy

Namespace:  Syroot.BinaryData
Assembly:  Syroot.BinaryData (in Syroot.BinaryData.dll) Version: 5.0.0-beta1
Syntax
public class BinaryStream : Stream

The BinaryStream type exposes the following members.

Constructors
  NameDescription
Public methodBinaryStream
Initializes a new instance of the BinaryStream class with the given default configuration.
Top
Properties
  NameDescription
Public propertyBaseStream
Gets the underlying Stream the instance works on.
Public propertyBooleanCoding
Gets the BooleanCoding to use for Boolean values.
Public propertyByteConverter
Gets or sets the ByteConverter instance used to parse multibyte binary data with. Setting this value to null will restore the default Big.
Public propertyCanRead
Gets a value indicating whether the underlying stream supports reading.
(Overrides StreamCanRead.)
Public propertyCanSeek
Gets a value indicating whether the underlying stream supports seeking.
(Overrides StreamCanSeek.)
Public propertyCanWrite
Gets a value indicating whether the underlying stream supports writing.
(Overrides StreamCanWrite.)
Public propertyDateTimeCoding
Gets the DateTimeCoding to use for DateTime values.
Public propertyEncoding
Gets or sets the encoding used for string related operations where no other encoding has been provided. Setting this value to null will restore the default UTF8.
Public propertyEndOfStream
Gets a value indicating whether the end of the stream has been reached.
Public propertyLength
Gets or sets the length in bytes of the stream in bytes.
(Overrides StreamLength.)
Public propertyPosition
Gets or sets the position within the current stream. This is a shortcut to the base stream Position property.
(Overrides StreamPosition.)
Public propertyStringCoding
Gets the StringCoding to use for String values.
Top
Methods
  NameDescription
Protected methodDispose
Optionally releases the underlying stream.
(Overrides StreamDispose(Boolean).)
Public methodFlush
Clears all buffers for this stream and causes any buffered data to be written to the underlying stream.
(Overrides StreamFlush.)
Public methodRead
Reads a sequence of bytes from the underlying stream and advances the position within the stream by the number of bytes read.
(Overrides StreamRead(Byte, Int32, Int32).)
Public methodReadBoolean
Returns a Boolean instance read from the underlying stream.
Public methodReadBooleanAsync
Returns a Boolean instance read asynchronously from the underlying stream.
Public methodReadBooleans(Int32)
Returns an array of Boolean instances read from the underlying stream.
Public methodReadBooleans(Int32, CancellationToken)
Returns an array of Boolean instances read asynchronously from the underlying stream.
Public methodReadDateTime
Returns a DateTime instance read from the underlying stream.
Public methodReadDateTimeAsync
Returns a DateTime instance read asynchronously from the underlying stream.
Public methodReadDateTimes
Returns an array of DateTime instances read from the underlying stream.
Public methodReadDateTimesAsync
Returns an array of DateTime instances read asynchronously from the underlying stream.
Public methodReadDouble
Returns a Double instance read from the underlying stream.
Public methodReadDoubleAsync
Returns a Double instance read asynchronously from the underlying stream.
Public methodReadDoubles
Returns an array of Double instances read from the underlying stream.
Public methodReadDoublesAsync
Returns an array of Double instances read asynchronously from the underlying stream.
Public methodReadEnum(Type, Boolean)
Returns an Enum instance of the given type read from the underlying stream.
Public methodReadEnumT(Boolean)
Returns an Enum instance of type T read from the underlying stream.
Public methodReadEnumAsync(Type, Boolean, CancellationToken)
Returns an Enum instance of the given type read asynchronously from the underlying stream.
Public methodReadEnumAsyncT(Boolean, CancellationToken)
Returns an Enum instance of type T read asynchronously from the underlying stream.
Public methodReadEnums(Type, Int32, Boolean)
Returns an array of Enum instances of the given type read from the underlying stream.
Public methodReadEnumsT(Int32, Boolean)
Returns an array of Enum instances of type T read from the underlying stream.
Public methodReadEnumsAsync(Type, Int32, Boolean, CancellationToken)
Returns an array of Enum instances of the given type read asynchronously from the underlying stream.
Public methodReadEnumsAsyncT(Int32, Boolean, CancellationToken)
Returns an array of Enum instances of type T read asynchronously from the underlying stream.
Public methodReadInt16
Returns an Int16 instance read from the underlying stream.
Public methodReadInt16Async
Returns an Int16 instance read asynchronously from the underlying stream.
Public methodReadInt16s
Returns an array of Int16 instances read from the underlying stream.
Public methodReadInt16sAsync
Returns an array of Int16 instances read asynchronously from the underlying stream.
Public methodReadInt32
Returns an Int32 instance read from the underlying stream.
Public methodReadInt32Async
Returns an Int32 instance read asynchronously from the underlying stream.
Public methodReadInt32s
Returns an array of Int32 instances read from the underlying stream.
Public methodReadInt32sAsync
Returns an array of Int32 instances read asynchronously from the underlying stream.
Public methodReadInt64
Returns an Int64 instance read from the underlying stream.
Public methodReadInt64Async
Returns an Int64 instance read asynchronously from the underlying stream.
Public methodReadInt64s
Returns an array of Int64 instances read from the underlying stream.
Public methodReadInt64sAsync
Returns an array of Int64 instances read asynchronously from the underlying stream.
Public methodReadSingle
Returns an Single instance read from the underlying stream.
Public methodReadSingleAsync
Returns an Single instance read asynchronously from the underlying stream.
Public methodReadSingles
Returns an array of Single instances read from the underlying stream.
Public methodReadSinglesAsync
Returns an array of Single instances read asynchronously from the underlying stream.
Public methodReadString
Returns a String instance read from the underlying stream.
Public methodReadString(Int32)
Returns a String instance read from the underlying stream.
Public methodReadStringAsync(CancellationToken)
Returns a String instance read asynchronously from the underlying stream.
Public methodReadStringAsync(Int32, CancellationToken)
Returns a String instance read asynchronously from the underlying stream.
Public methodReadStrings(Int32)
Returns an array of String instances read from the underlying stream.
Public methodReadStrings(Int32, Int32)
Returns an array of String instances read from the underlying stream.
Public methodReadStringsAsync(Int32, CancellationToken)
Returns an array of String instances read asynchronously from the underlying stream.
Public methodReadStringsAsync(Int32, Int32, CancellationToken)
Returns an array of String instances read asynchronously from the underlying stream.
Public methodReadUInt16
Returns an UInt16 instance read from the underlying stream.
Public methodReadUInt16Async
Returns an UInt16 instance read asynchronously from the underlying stream.
Public methodReadUInt16s
Returns an array of UInt16 instances read from the underlying stream.
Public methodReadUInt16sAsync
Returns an array of UInt16 instances read asynchronously from the underlying stream.
Public methodReadUInt32
Returns an UInt32 instance read from the underlying stream.
Public methodReadUInt32Async
Returns an UInt32 instance read asynchronously from the underlying stream.
Public methodReadUInt32s
Returns an array of UInt32 instances read from the underlying stream.
Public methodReadUInt32sAsync
Returns an array of UInt32 instances read asynchronously from the underlying stream.
Public methodReadUInt64
Returns an UInt64 instance read from the underlying stream.
Public methodReadUInt64Async
Returns an UInt64 instance read asynchronously from the underlying stream.
Public methodReadUInt64s
Returns an array of UInt64 instances read from the underlying stream.
Public methodReadUInt64sAsync
Returns an array of UInt64 instances read asynchronously from the underlying stream.
Public methodSeek
Sets the position within the underlying stream.
(Overrides StreamSeek(Int64, SeekOrigin).)
Public methodSetLength
Sets the length of the underlying stream.
(Overrides StreamSetLength(Int64).)
Public methodWrite(Boolean)
Writes a Boolean value to the underlying stream.
Public methodWrite(IEnumerableBoolean)
Writes an enumerable of Boolean values to the underlying stream.
Public methodWrite(IEnumerableDateTime)
Writes an enumerable of DateTime values to the underlying stream.
Public methodWrite(IEnumerableDouble)
Writes an enumerable of Double values to the underlying stream.
Public methodWrite(IEnumerableInt16)
Writes an enumerable of Int16 values to the underlying stream.
Public methodWrite(IEnumerableInt32)
Writes an enumerable of Int32 values to the underlying stream.
Public methodWrite(IEnumerableInt64)
Writes an enumerable of Int64 values to the underlying stream.
Public methodWrite(IEnumerableSingle)
Writes an enumerable of Single values to the underlying stream.
Public methodWrite(IEnumerableString)
Writes an enumerable of String values to the underlying stream.
Public methodWrite(IEnumerableUInt16)
Writes an enumerable of UInt16 values to the underlying stream.
Public methodWrite(IEnumerableUInt32)
Writes an enumerable of UInt32 values to the underlying stream.
Public methodWrite(IEnumerableUInt64)
Writes an enumerable of UInt64 values to the underlying stream.
Public methodWrite(DateTime)
Writes a DateTime value to the underlying stream.
Public methodWrite(Double)
Writes a Double value to the underlying stream.
Public methodWrite(Int16)
Writes an Int16 value to the underlying stream.
Public methodWrite(Int32)
Writes an Int32 value to the underlying stream.
Public methodWrite(Int64)
Writes an Int64 value to the underlying stream.
Public methodWrite(Single)
Writes an Single value to the underlying stream.
Public methodWrite(String)
Writes a String value to the underlying stream.
Public methodWrite(UInt16)
Writes an UInt16 value to the underlying stream.
Public methodWrite(UInt32)
Writes an UInt32 value to the underlying stream.
Public methodWrite(UInt64)
Writes an UInt64 value to the underlying stream.
Public methodWrite(Byte, Int32, Int32)
Writes a sequence of bytes to the underlying stream and advances the current position within this stream by the number of bytes written.
(Overrides StreamWrite(Byte, Int32, Int32).)
Public methodWriteAsync(Boolean, CancellationToken)
Writes a Boolean value asynchronously to the underlying stream.
Public methodWriteAsync(IEnumerableBoolean, CancellationToken)
Writes an enumerable of Boolean values asynchronously to the underlying stream.
Public methodWriteAsync(IEnumerableDateTime, CancellationToken)
Writes an enumerable of DateTime asynchronously values to the underlying stream.
Public methodWriteAsync(IEnumerableDouble, CancellationToken)
Writes an enumerable of Double values asynchronously to the underlying stream.
Public methodWriteAsync(IEnumerableInt16, CancellationToken)
Writes an enumerable of Int16 values to the underlying stream.
Public methodWriteAsync(IEnumerableInt32, CancellationToken)
Writes an enumerable of Int32 values to the underlying stream.
Public methodWriteAsync(IEnumerableInt64, CancellationToken)
Writes an enumerable of Int64 values to the underlying stream.
Public methodWriteAsync(IEnumerableSingle, CancellationToken)
Writes an enumerable of Single values to the underlying stream.
Public methodWriteAsync(IEnumerableString, CancellationToken)
Writes an enumerable of String values asynchronously to the underlying stream.
Public methodWriteAsync(IEnumerableUInt16, CancellationToken)
Writes an enumerable of UInt16 values to the underlying stream.
Public methodWriteAsync(IEnumerableUInt32, CancellationToken)
Writes an enumerable of UInt32 values to the underlying stream.
Public methodWriteAsync(IEnumerableUInt64, CancellationToken)
Writes an enumerable of UInt64 values to the underlying stream.
Public methodWriteAsync(DateTime, CancellationToken)
Writes a DateTime value asynchronously to the underlying stream.
Public methodWriteAsync(Double, CancellationToken)
Writes a Double value asynchronously to the underlying stream.
Public methodWriteAsync(Int16, CancellationToken)
Writes an Int16 value asynchronously to the underlying stream.
Public methodWriteAsync(Int32, CancellationToken)
Writes an Int32 value asynchronously to the underlying stream.
Public methodWriteAsync(Int64, CancellationToken)
Writes an Int64 value asynchronously to the underlying stream.
Public methodWriteAsync(Single, CancellationToken)
Writes an Single value asynchronously to the underlying stream.
Public methodWriteAsync(String, CancellationToken)
Writes a String value asynchronously to the underlying stream.
Public methodWriteAsync(UInt16, CancellationToken)
Writes an UInt16 value asynchronously to the underlying stream.
Public methodWriteAsync(UInt32, CancellationToken)
Writes an UInt32 value asynchronously to the underlying stream.
Public methodWriteAsync(UInt64, CancellationToken)
Writes an UInt64 value asynchronously to the underlying stream.
Public methodWriteBoolean
Writes a Boolean value to the underlying stream.
Public methodWriteBooleanAsync
Writes a Boolean value asynchronously to the underlying stream.
Public methodWriteBooleans
Writes an enumerable of Boolean values to the underlying stream.
Public methodWriteBooleansAsync
Writes an enumerable of Boolean values to the underlying stream.
Public methodWriteDateTime
Writes a DateTime value to the underlying stream.
Public methodWriteDateTimeAsync
Writes a DateTime value asynchronously to the underlying stream.
Public methodWriteDateTimes
Writes an enumerable of DateTime values to the underlying stream.
Public methodWriteDateTimesAsync
Writes an enumerable of DateTime values asynchronously to the underlying stream.
Public methodWriteDouble
Writes a Double value to the underlying stream.
Public methodWriteDoubleAsync
Writes a Double value asynchronously to the underlying stream.
Public methodWriteDoubles
Writes an enumerable of Double values to the underlying stream.
Public methodWriteDoublesAsync
Writes an enumerable of Double values asynchronously to the underlying stream.
Public methodWriteEnum(Type, Object, Boolean)
Writes an Enum value of the given type to the underlying stream.
Public methodWriteEnumT(T, Boolean)
Writes an Enum value of type T to the underlying stream.
Public methodWriteEnumAsync(Type, Object, Boolean, CancellationToken)
Writes an Enum value of the given type asynchronously to the underlying stream.
Public methodWriteEnumAsyncT(T, Boolean, CancellationToken)
Writes an Enum value of type T asynchronously to the underlying stream.
Public methodWriteEnums(Type, IEnumerable, Boolean)
Writes an enumerable of Enum values of the given type to the underlying stream.
Public methodWriteEnumsT(IEnumerable, Boolean)
Writes an enumerable of Enum values of type T to the underlying stream.
Public methodWriteEnumsAsync(Type, IEnumerable, Boolean, CancellationToken)
Writes an enumerable of Enum values of the given type asynchronously to the underlying stream.
Public methodWriteEnumsAsyncT(IEnumerable, Boolean, CancellationToken)
Writes an enumerable of Enum values of type T asynchronously to the underlying stream.
Public methodWriteInt16
Writes an Int16 value to the underlying stream.
Public methodWriteInt16Async
Writes an Int16 value to the underlying stream.
Public methodWriteInt16s
Writes an enumerable of Int16 values to the underlying stream.
Public methodWriteInt16sAsync
Writes an enumerable of Int16 values to the underlying stream.
Public methodWriteInt32
Writes an Int32 value to the underlying stream.
Public methodWriteInt32Async
Writes an Int32 value to the underlying stream.
Public methodWriteInt32s
Writes an enumerable of Int32 values to the underlying stream.
Public methodWriteInt32sAsync
Writes an enumerable of Int32 values to the underlying stream.
Public methodWriteInt64
Writes an Int64 value to the underlying stream.
Public methodWriteInt64Async
Writes an Int64 value to the underlying stream.
Public methodWriteInt64s
Writes an enumerable of Int64 values to the underlying stream.
Public methodWriteInt64sAsync
Writes an enumerable of Int64 values to the underlying stream.
Public methodWriteSingle
Writes an Single value to the underlying stream.
Public methodWriteSingleAsync
Writes an Single value to the underlying stream.
Public methodWriteSingles
Writes an enumerable of Single values to the underlying stream.
Public methodWriteSinglesAsync
Writes an enumerable of Single values to the underlying stream.
Public methodWriteString
Writes a String value to the underlying stream.
Public methodWriteStringAsync
Writes a String value asynchronously to the underlying stream.
Public methodWriteStrings
Writes an enumerable of String values to the underlying stream.
Public methodWriteStringsAsync
Writes an enumerable of String values asynchronously to the underlying stream.
Public methodWriteUInt16
Writes an UInt16 value to the underlying stream.
Public methodWriteUInt16Async
Writes an UInt16 value to the underlying stream.
Public methodWriteUInt16s
Writes an enumerable of UInt16 values to the underlying stream.
Public methodWriteUInt16sAsync
Writes an enumerable of UInt16 values to the underlying stream.
Public methodWriteUInt32
Writes an UInt32 value to the underlying stream.
Public methodWriteUInt32Async
Writes an UInt32 value to the underlying stream.
Public methodWriteUInt32s
Writes an enumerable of UInt32 values to the underlying stream.
Public methodWriteUInt32sAsync
Writes an enumerable of UInt32 values to the underlying stream.
Public methodWriteUInt64
Writes an UInt64 value to the underlying stream.
Public methodWriteUInt64Async
Writes an UInt64 value to the underlying stream.
Public methodWriteUInt64s
Writes an enumerable of UInt64 values to the underlying stream.
Public methodWriteUInt64sAsync
Writes an enumerable of UInt64 values to the underlying stream.
Top
Extension Methods
  NameDescription
Public Extension MethodAlign
Aligns the stream to the given byte multiple.
(Defined by StreamExtensions.)
Public Extension MethodIsEndOfStream
Gets a value indicating whether the end of the stream has been reached and no more data can be read.
(Defined by StreamExtensions.)
Public Extension MethodMove
Sets the position within the current stream relative to the current position. If the stream is not seekable, it tries to simulates advancing the position by reading or writing 0-bytes.
(Defined by StreamExtensions.)
Public Extension MethodRead1Byte
Returns a Byte instance read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodRead1ByteAsync
Returns a Byte instance read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodRead7BitInt32
Returns a variable-length Int32 instance read from the given stream which can require up to 5 bytes.
(Defined by StreamExtensions.)
Public Extension MethodRead7BitInt32Async
Returns a variable-length Int32 instance read asynchronously from the given stream which can require up to 5 bytes.
(Defined by StreamExtensions.)
Public Extension MethodRead7BitInt32s
Returns an array of variable-length Int32 instances read from the stream which can require to 5 bytes each.
(Defined by StreamExtensions.)
Public Extension MethodRead7BitInt32sAsync
Returns an array of variable-length Int32 instances read asynchronously from the stream which can require to 5 bytes each.
(Defined by StreamExtensions.)
Public Extension MethodReadBoolean
Returns a Boolean instance read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadBooleanAsync
Returns a Boolean instance read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadBooleans
Returns an array of Boolean instances read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadBooleansAsync
Returns an array of Boolean instances read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadBytes
Returns an array of Byte instances read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadBytesAsync
Returns an array of Byte instances read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadDateTime
Returns a DateTime instance read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadDateTimeAsync
Returns a DateTime instance read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadDateTimes
Returns an array of DateTime instances read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadDateTimesAsync
Returns an array of DateTime instances read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadDecimal
Returns a Decimal instance read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadDecimalAsync
Returns a Decimal instance read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadDecimals
Returns an array of Decimal instances read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadDecimalsAsync
Returns an array of Decimal instances read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadDouble
Returns a Double instance read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadDoubleAsync
Returns a Double instance read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadDoubles
Returns an array of Double instances read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadDoublesAsync
Returns an array of Double instances read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadEnum(Type, Boolean, ByteConverter)Overloaded.
Returns an Enum instance of the given type read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadEnumT(Boolean, ByteConverter)Overloaded.
Returns an Enum instance of type T read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadEnumAsync(Type, Boolean, ByteConverter, CancellationToken)Overloaded.
Returns an Enum instance of the given type read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadEnumAsyncT(Boolean, ByteConverter, CancellationToken)Overloaded.
Returns an Enum instance of type T read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadEnums(Type, Int32, Boolean, ByteConverter)Overloaded.
Returns an array of Enum instances of the given type read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadEnumsT(Int32, Boolean, ByteConverter)Overloaded.
Returns an array of Enum instances of type T read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadEnumsAsync(Type, Int32, Boolean, ByteConverter, CancellationToken)Overloaded.
Returns an array of Enum instances of the given type read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadEnumsAsyncT(Int32, Boolean, ByteConverter, CancellationToken)Overloaded.
Returns an array of Enum instances of type T read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadInt16
Returns an Int16 instance read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadInt16Async
Returns an Int16 instance read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadInt16s
Returns an array of Int16 instances read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadInt16sAsync
Returns an array of Int16 instances read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadInt32
Returns an Int32 instance read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadInt32Async
Returns an Int32 instance read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadInt32s
Returns an array of Int32 instances read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadInt32sAsync
Returns an array of Int32 instances read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadInt64
Returns an Int64 instance read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadInt64Async
Returns an Int64 instance read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadInt64s
Returns an array of Int64 instances read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadInt64sAsync
Returns an array of Int64 instances read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadManyT
Returns count instances of type T continually read from the stream by calling the readCallback.
(Defined by StreamExtensions.)
Public Extension MethodReadManyAsyncT
Returns count instances of type T continually read asynchronously from the stream by calling the readCallback.
(Defined by StreamExtensions.)
Public Extension MethodReadSByte
Returns an SByte instance read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadSByteAsync
Returns an SByte instance read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadSBytes
Returns an array of SByte instances read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadSBytesAsync
Returns an array of SByte instances read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadSingle
Returns a Single instance read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadSingleAsync
Returns a Single instance read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadSingles
Returns an array of Single instances read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadSinglesAsync
Returns an array of Single instances read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadString(Int32, Encoding)Overloaded.
Returns a String instance read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadString(StringCoding, Encoding, ByteConverter)Overloaded.
Returns a String instance read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadStringAsync(Int32, Encoding, CancellationToken)Overloaded.
Returns a String instance read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadStringAsync(StringCoding, Encoding, ByteConverter, CancellationToken)Overloaded.
Returns a String instance read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadStrings(Int32, Int32, Encoding)Overloaded.
Returns an array of String instances read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadStrings(Int32, StringCoding, Encoding, ByteConverter)Overloaded.
Returns an array of String instances read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadStringsAsync(Int32, Int32, Encoding, CancellationToken)Overloaded.
Returns an array of String instances read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadStringsAsync(Int32, StringCoding, Encoding, ByteConverter, CancellationToken)Overloaded.
Returns an array of String instances read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadUInt16
Returns a UInt16 instance read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadUInt16Async
Returns a UInt16 instance read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadUInt16s
Returns an array of UInt16 instances read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadUInt16sAsync
Returns an array of UInt16 instances read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadUInt32
Returns a UInt32 instance read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadUInt32Async
Returns a UInt32 instance read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadUInt32s
Returns an array of UInt32 instances read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadUInt32sAsync
Returns an array of UInt32 instances read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadUInt64
Returns a UInt64 instance read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadUInt64Async
Returns a UInt64 instance read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadUInt64s
Returns an array of UInt64 instances read from the stream.
(Defined by StreamExtensions.)
Public Extension MethodReadUInt64sAsync
Returns an array of UInt64 instances read asynchronously from the stream.
(Defined by StreamExtensions.)
Public Extension MethodSeek
Sets the position within the current stream relative to the current position.
(Defined by StreamExtensions.)
Public Extension MethodTemporarySeek
Creates a Seek with the given parameters. As soon as the returned Seek is disposed, the previous stream position will be restored.
(Defined by StreamExtensions.)
Public Extension MethodWrite(Byte)Overloaded.
Writes a Byte value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(IEnumerableByte)Overloaded.
Writes an enumerable of Byte values to the stream. This method writes bytes one-by-one.
(Defined by StreamExtensions.)
Public Extension MethodWrite(Byte)Overloaded.
Writes an array of Byte values to the stream. This method writes all bytes in one call.
(Defined by StreamExtensions.)
Public Extension MethodWrite(Decimal)Overloaded.
Writes a Decimal value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(IEnumerableDecimal)Overloaded.
Writes an enumerable of Decimal values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(SByte)Overloaded.
Writes an SByte value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(IEnumerableSByte)Overloaded.
Writes an enumerable of SByte values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(Double, ByteConverter)Overloaded.
Writes a Double value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(IEnumerableDouble, ByteConverter)Overloaded.
Writes an enumerable of Double values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(Int16, ByteConverter)Overloaded.
Writes an Int16 value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(IEnumerableInt16, ByteConverter)Overloaded.
Writes an enumerable of Int16 values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(Int32, ByteConverter)Overloaded.
Writes an Int32 value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(IEnumerableInt32, ByteConverter)Overloaded.
Writes an enumerable of Int32 values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(Int64, ByteConverter)Overloaded.
Writes an Int64 value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(IEnumerableInt64, ByteConverter)Overloaded.
Writes an enumerable of Int64 values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(Single, ByteConverter)Overloaded.
Writes a Single value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(IEnumerableSingle, ByteConverter)Overloaded.
Writes an enumerable of Single values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(UInt16, ByteConverter)Overloaded.
Writes an UInt16 value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(IEnumerableUInt16, ByteConverter)Overloaded.
Writes an enumerable of UInt16 values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(UInt32, ByteConverter)Overloaded.
Writes a UInt32 value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(IEnumerableUInt32, ByteConverter)Overloaded.
Writes an enumerable of UInt32 values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(UInt64, ByteConverter)Overloaded.
Writes a UInt64 value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(IEnumerableUInt64, ByteConverter)Overloaded.
Writes an enumerable of UInt64 values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(Boolean, BooleanCoding, ByteConverter)Overloaded.
Writes a Boolean value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(IEnumerableBoolean, BooleanCoding, ByteConverter)Overloaded.
Writes an enumerable of Boolean values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(DateTime, DateTimeCoding, ByteConverter)Overloaded.
Writes a DateTime value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(IEnumerableDateTime, DateTimeCoding, ByteConverter)Overloaded.
Writes an enumerable of DateTime values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(String, StringCoding, Encoding, ByteConverter)Overloaded.
Writes a String value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite(IEnumerableString, StringCoding, Encoding, ByteConverter)Overloaded.
Writes an enumerable of String values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite7BitInt32
Writes a variable-length Int32 value to the stream which can require up to 5 bytes.
(Defined by StreamExtensions.)
Public Extension MethodWrite7BitInt32Async(Int32, CancellationToken)Overloaded.
Writes a variable-length Int32 value asynchronously to the stream which can require up to 5 bytes.
(Defined by StreamExtensions.)
Public Extension MethodWrite7BitInt32Async(IEnumerableInt32, CancellationToken)Overloaded.
Writes an enumerable of Int32 values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWrite7BitInt32s
Writes an enumerable of Int32 values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(Byte, CancellationToken)Overloaded.
Writes a Byte value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(IEnumerableByte, CancellationToken)Overloaded.
Writes an enumerable of Byte values to the stream. This method writes bytes one-by-one.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(Byte, CancellationToken)Overloaded.
Writes an array of Byte values to the stream. This method writes all bytes in one call.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(Decimal, CancellationToken)Overloaded.
Writes a Decimal value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(IEnumerableDecimal, CancellationToken)Overloaded.
Writes an enumerable of Decimal values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(SByte, CancellationToken)Overloaded.
Writes an SByte value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(IEnumerableSByte, CancellationToken)Overloaded.
Writes an enumerable of SByte values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(Double, ByteConverter, CancellationToken)Overloaded.
Writes a Double value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(IEnumerableDouble, ByteConverter, CancellationToken)Overloaded.
Writes an enumerable of Double values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(Int16, ByteConverter, CancellationToken)Overloaded.
Writes an Int16 value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(IEnumerableInt16, ByteConverter, CancellationToken)Overloaded.
Writes an enumerable of Int16 values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(Int32, ByteConverter, CancellationToken)Overloaded.
Writes an Int32 value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(IEnumerableInt32, ByteConverter, CancellationToken)Overloaded.
Writes an enumerable of Int32 values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(Int64, ByteConverter, CancellationToken)Overloaded.
Writes an Int64 value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(IEnumerableInt64, ByteConverter, CancellationToken)Overloaded.
Writes an enumerable of Int64 values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(Single, ByteConverter, CancellationToken)Overloaded.
Writes a Single value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(IEnumerableSingle, ByteConverter, CancellationToken)Overloaded.
Writes an enumerable of Single values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(UInt16, ByteConverter, CancellationToken)Overloaded.
Writes an UInt16 value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(IEnumerableUInt16, ByteConverter, CancellationToken)Overloaded.
Writes an enumerable of UInt16 values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(UInt32, ByteConverter, CancellationToken)Overloaded.
Writes a UInt32 value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(IEnumerableUInt32, ByteConverter, CancellationToken)Overloaded.
Writes an enumerable of UInt32 values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(UInt64, ByteConverter, CancellationToken)Overloaded.
Writes a UInt64 value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(IEnumerableUInt64, ByteConverter, CancellationToken)Overloaded.
Writes an enumerable of UInt64 values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(Boolean, BooleanCoding, ByteConverter, CancellationToken)Overloaded.
Writes a Boolean value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(IEnumerableBoolean, BooleanCoding, ByteConverter, CancellationToken)Overloaded.
Writes an enumerable of Boolean values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(DateTime, DateTimeCoding, ByteConverter, CancellationToken)Overloaded.
Writes a DateTime value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(IEnumerableDateTime, DateTimeCoding, ByteConverter, CancellationToken)Overloaded.
Writes an enumerable of DateTime asynchronously values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(String, StringCoding, Encoding, ByteConverter, CancellationToken)Overloaded.
Writes a String value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteAsync(IEnumerableString, StringCoding, Encoding, ByteConverter, CancellationToken)Overloaded.
Writes an enumerable of String values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteBoolean
Writes a Boolean value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteBooleanAsync
Writes a Boolean value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteBooleans
Writes an enumerable of Boolean values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteBooleansAsync
Writes an enumerable of Boolean values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteByte
Writes a Byte value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteByteAsync
Writes a Byte value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteBytes(IEnumerableByte)Overloaded.
Writes an enumerable of Byte values to the stream. This method writes bytes one-by-one.
(Defined by StreamExtensions.)
Public Extension MethodWriteBytes(Byte)Overloaded.
Writes an array of Byte values to the stream. This method writes all bytes in one call.
(Defined by StreamExtensions.)
Public Extension MethodWriteBytesAsync(IEnumerableByte, CancellationToken)Overloaded.
Writes an enumerable of Byte values to the stream. This method writes bytes one-by-one.
(Defined by StreamExtensions.)
Public Extension MethodWriteBytesAsync(Byte, CancellationToken)Overloaded.
Writes an array of Byte values to the stream. This method writes all bytes in one call.
(Defined by StreamExtensions.)
Public Extension MethodWriteDateTime
Writes a DateTime value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteDateTimeAsync
Writes a DateTime value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteDateTimes
Writes an enumerable of DateTime values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteDateTimesAsync
Writes an enumerable of DateTime values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteDecimal
Writes a Decimal value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteDecimalAsync
Writes a Decimal value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteDecimals
Writes an enumerable of Decimal values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteDecimalsAsync
Writes an enumerable of Decimal values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteDouble
Writes a Double value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteDoubleAsync
Writes a Double value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteDoubles
Writes an enumerable of Double values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteDoublesAsync
Writes an enumerable of Double values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteEnum(Type, Object, Boolean, ByteConverter)Overloaded.
Writes an Enum value of the given type to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteEnumT(T, Boolean, ByteConverter)Overloaded.
Writes an Enum value of type T to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteEnumAsync(Type, Object, Boolean, ByteConverter, CancellationToken)Overloaded.
Writes an Enum value of the given type asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteEnumAsyncT(T, Boolean, ByteConverter, CancellationToken)Overloaded.
Writes an Enum value of type T asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteEnums(Type, IEnumerable, Boolean, ByteConverter)Overloaded.
Writes an enumerable of Enum values of the given type to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteEnumsT(IEnumerable, Boolean, ByteConverter)Overloaded.
Writes an enumerable of Enum values of type T to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteEnumsAsync(Type, IEnumerable, Boolean, ByteConverter, CancellationToken)Overloaded.
Writes an enumerable of Enum values of the given type asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteEnumsAsyncT(IEnumerable, Boolean, ByteConverter, CancellationToken)Overloaded.
Writes an enumerable of Enum values of type T asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteInt16
Writes an Int16 value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteInt16Async
Writes an Int16 value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteInt16s
Writes an enumerable of Int16 values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteInt16sAsync
Writes an enumerable of Int16 values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteInt32
Writes an Int32 value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteInt32Async
Writes an Int32 value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteInt32s
Writes an enumerable of Int32 values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteInt32sAsync
Writes an enumerable of Int32 values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteInt64
Writes an Int64 value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteInt64Async
Writes an Int64 value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteInt64s
Writes an enumerable of Int64 values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteInt64sAsync
Writes an enumerable of Int64 values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteManyT
Writes the values to the stream through the writeCallback invoked for each value.
(Defined by StreamExtensions.)
Public Extension MethodWriteManyAsyncT
Writes the values to the stream asynchronously through the writeCallback invoked for each value.
(Defined by StreamExtensions.)
Public Extension MethodWriteSByte
Writes an SByte value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteSByteAsync
Writes an SByte value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteSBytes
Writes an enumerable of SByte values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteSBytesAsync
Writes an enumerable of SByte values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteSingle
Writes a Single value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteSingleAsync
Writes a Single value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteSingles
Writes an enumerable of Single values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteSinglesAsync
Writes an enumerable of Single values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteString
Writes a String value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteStringAsync
Writes a String value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteStrings
Writes an enumerable of String values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteStringsAsync
Writes an enumerable of String values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteUInt16
Writes an UInt16 value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteUInt16Async
Writes an UInt16 value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteUInt16s
Writes an enumerable of UInt16 values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteUInt16sAsync
Writes an enumerable of UInt16 values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteUInt32
Writes a UInt32 value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteUInt32Async
Writes a UInt32 value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteUInt32s
Writes an enumerable of UInt32 values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteUInt32sAsync
Writes an enumerable of UInt32 values asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteUInt64
Writes a UInt64 value to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteUInt64Async
Writes a UInt64 value asynchronously to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteUInt64s
Writes an enumerable of UInt64 values to the stream.
(Defined by StreamExtensions.)
Public Extension MethodWriteUInt64sAsync
Writes an enumerable of UInt64 values asynchronously to the stream.
(Defined by StreamExtensions.)
Top
See Also