FileCodestreamWriter Constructor(Stream,Int32)
In This Topic
Uses the output stream 'os' for writing the bit stream, using the 'he' header encoder. The magic number is written to the bit stream. Normally, the header encoder must be empty (i.e. no data has been written to it yet). No BufferedOutputStream is used on top of the output stream 'os'.
Syntax
'Declaration
Public Function New( _
ByVal As Stream, _
ByVal As Integer _
)
public FileCodestreamWriter(
Stream ,
int
)
Parameters
- os
- The output stream where to write the bit stream.
- mb
- The maximum number of bytes that can be written to the bit stream.
Exceptions
Exception | Description |
System.IO.IOException | If an error occurs while writing the magic
number to the 'os' output stream.
|
See Also