UnpackerCreate Method (Stream, Boolean) |
Creates the new
Unpacker from specified stream.
Namespace: MsgPackAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public static Unpacker Create(
Stream stream,
bool ownsStream
)
Public Shared Function Create (
stream As Stream,
ownsStream As Boolean
) As Unpacker
public:
static Unpacker^ Create(
Stream^ stream,
bool ownsStream
)
static member Create :
stream : Stream *
ownsStream : bool -> Unpacker
Parameters
- stream
- Type: System.IOStream
The stream to be unpacked. - ownsStream
- Type: SystemBoolean
true to close stream when this instance is disposed;
false, otherwise.
Return Value
Type:
UnpackerUnpacker instance.
See Also