PackerCreate Method (Stream) |
Namespace: MsgPackAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public static Packer Create(
Stream stream
)
Public Shared Function Create (
stream As Stream
) As Packer
public:
static Packer^ Create(
Stream^ stream
)
static member Create :
stream : Stream -> Packer
Parameters
- stream
- Type: System.IOStream
Stream object. This stream will be closed when Dispose(Boolean) is called.
Return Value
Type:
PackerSafe
Packer. This will not be null.
Exceptions Remarks
You can specify any derived
Stream class like FileStream,
MemoryStream,
NetworkStream, UnmanagedMemoryStream, or so.
See Also