GrpcMarshaller<T>
Assembly: ServiceStack.GrpcClient.dll
View Source
Declaration
public class GrpcMarshaller<T> : Marshaller<T>
Properties
Instance
View Source
Declaration
public static Marshaller<T> Instance { get; set; }
Methods
Serialize(T)
View Source
Declaration
public static byte[] Serialize(T payload)
Returns
System.Byte[]
Parameters
Type | Name |
---|---|
<T> | payload |
Deserialize(Byte[])
View Source
Declaration
public static T Deserialize(byte[] payload)
Returns
<T>
Parameters
Type | Name |
---|---|
System.Byte[] | payload |