Menu - Top - Home - Donate to Me

PeterO.Cbor.ICBORTag

PeterO.Cbor.ICBORTag

public interface ICBORTag

Deprecated. May be removed in the future without replacement. Not as useful as ICBORConverters and ICBORObjectConverters for FromObject and ToObject.

Implemented by classes that validate CBOR objects belonging to a specific tag.

Member Summary

GetTypeFilter

PeterO.Cbor.CBORTypeFilter GetTypeFilter();

Gets a type filter specifying what kinds of CBOR objects are supported by this tag.

Return Value:

A CBOR type filter.

ValidateObject

PeterO.Cbor.CBORObject ValidateObject(
    PeterO.Cbor.CBORObject obj);

Generates a CBOR object based on the data of another object. If the data is not valid, should throw a CBORException.

Parameters:

Return Value:

A CBORObject object. Note that this method may choose to return the same object as the parameter.

Back to CBOR start page.