ArrayExtensionsToOffsetBuffer Method |
Creates an OffsetBuffer from a inputStream.
Namespace: StreamCoders.HelpersAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax public static OffsetBuffer<byte> ToOffsetBuffer(
this Stream stream
)
<ExtensionAttribute>
Public Shared Function ToOffsetBuffer (
stream As Stream
) As OffsetBuffer(Of Byte)
public:
[ExtensionAttribute]
static OffsetBuffer<unsigned char>^ ToOffsetBuffer(
Stream^ stream
)
[<ExtensionAttribute>]
static member ToOffsetBuffer :
stream : Stream -> OffsetBuffer<byte>
Parameters
- stream
- Type: System.IOStream
The stream to act on.
Return Value
Type:
OffsetBufferByte
Returns a new instance of an OffsetBuffer.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Stream. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also