Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IContentDecoder.cs
1using System;
2using System.Collections.Generic;
3using System.Text;
4using System.Threading.Tasks;
6
7namespace Waher.Content
8{
14 {
21 bool Decodes(string ContentType, out Grade Grade);
22
33 Task<object> DecodeAsync(string ContentType, byte[] Data, Encoding Encoding, KeyValuePair<string, string>[] Fields, Uri BaseUri);
34 }
35}
Basic interface for Internet Content decoders. A class implementing this interface and having a defau...
Task< object > DecodeAsync(string ContentType, byte[] Data, Encoding Encoding, KeyValuePair< string, string >[] Fields, Uri BaseUri)
Decodes an object.
bool Decodes(string ContentType, out Grade Grade)
If the decoder decodes an object with a given content type.
Base interface for Internet content encoders or decoders.
Grade
Grade enumeration
Definition: Grade.cs:7