C# Class LightNode.Formatter.RawOctetStreamContentFormatter

Inheritance: ContentFormatterBase
Exibir arquivo Open project: neuecc/LightNode

Public Methods

Method Description
Deserialize ( Type type, Stream stream ) : object
RawOctetStreamContentFormatter ( string mediaType = "application/octet-stream", string ext = "" ) : LightNode.Core
Serialize ( Stream stream, object obj ) : void

Method Details

Deserialize() public method

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

RawOctetStreamContentFormatter() public method

public RawOctetStreamContentFormatter ( string mediaType = "application/octet-stream", string ext = "" ) : LightNode.Core
mediaType string
ext string
return LightNode.Core

Serialize() public method

public Serialize ( Stream stream, object obj ) : void
stream Stream
obj object
return void