StreamExtensions.Write<T>(Stream, T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes a value of a specified type into a target Stream instance.
public static void Write<T> (this System.IO.Stream stream, in T value) where T : struct;
static member Write : System.IO.Stream * 'T -> unit (requires 'T : struct)
<Extension()>
Public Sub Write(Of T As Structure) (stream As Stream, ByRef value As T)
Type Parameters
- T
The type of value to write.
Parameters
- value
- T
The input value to write to stream
.