C# Class ServiceStack.ProtocolBuffers.ProtocolBuffersFormat

Mostrar archivo Open project: e-travel/ServiceStack.ProtocolBuffers

Public Methods

Method Description
DeserializeFromStream ( Type type, Stream stream ) : object
Register ( IAppHost appHost ) : void
SerializeToStream ( IRequestContext requestContext, object response, Stream stream ) : void

Method Details

DeserializeFromStream() public static method

public static DeserializeFromStream ( Type type, Stream stream ) : object
type System.Type
stream Stream
return object

Register() public static method

public static Register ( IAppHost appHost ) : void
appHost IAppHost
return void

SerializeToStream() public static method

public static SerializeToStream ( IRequestContext requestContext, object response, Stream stream ) : void
requestContext IRequestContext
response object
stream Stream
return void