Developer Documentation
Our new developer documentation is now available. Please check it out!

MsgPackWriter.Create

public static MsgPackWriter Create(byte[] bytes)
public static MsgPackWriter Create(byte[] bytes, Encoding encoding)

Create writer with a prefilled stream buffer

Parameters

NameTypeDescription
bytesByte[]data that will be pushed into the stream
encodingEncoding

Returns

TypeDescription
MsgPackWriterwriter

Variants

Create(bytes)

public static MsgPackWriter Create(byte[] bytes)

Create writer with a prefilled stream buffer

Parameters

NameTypeDescription
bytesByte[]data that will be pushed into the stream

Returns

TypeDescription
MsgPackWriterwriter

Create(bytes, encoding)

public static MsgPackWriter Create(byte[] bytes, Encoding encoding)

Parameters

NameTypeDescription
bytesByte[]
encodingEncoding

Returns

TypeDescription
MsgPackWriter