'DeclarationPublic Function New( _ ByVal stream As Stream, _ ByVal context As IServiceMessageContext, _ ByVal leaveOpen As Boolean _ )
'UsageDim stream As Stream Dim context As IServiceMessageContext Dim leaveOpen As Boolean Dim instance As New BinaryEncoder(stream, context, leaveOpen)
Parameters
- stream
 - The stream to which the encoder writes.
 - context
 - The message context to use for the encoding.
 - leaveOpen
 - If the stream should be left open on dispose.