C# Class LightNode.Formatter.RawOctetStreamContentFormatter

Inheritance: ContentFormatterBase
Afficher le fichier Open project: neuecc/LightNode

Méthodes publiques

Méthode 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 méthode

public Deserialize ( Type type, Stream stream ) : object
type System.Type
stream Stream
Résultat object

RawOctetStreamContentFormatter() public méthode

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

Serialize() public méthode

public Serialize ( Stream stream, object obj ) : void
stream Stream
obj object
Résultat void