Skip to main content

MsgPackExtensions

Assembly: ServiceStack.MsgPack.dll
View Source
Declaration
public static class MsgPackExtensions

Methods

ToMsgPack<T>(T)

View Source
Declaration
public static byte[] ToMsgPack<T>(this T obj)
Returns

System.Byte[]

Parameters
TypeName
<T>obj
Type Parameters
  • T

FromMsgPack<T>(Byte[])

View Source
Declaration
public static T FromMsgPack<T>(this byte[] bytes)
Returns

<T>

Parameters
TypeName
System.Byte[]bytes
Type Parameters
  • T