Interface for types that can be both encoded to and decoded from CBOR.
This interface is a convenience marker for types that implement both
CborEncodable and CborDecodable. It serves to indicate full CBOR
serialization support.
Example
// Custom type that implements both conversion directions classPersonimplementsCborCodable<Person> { constructor(publicname: string = '', publicage: number = 0) {}
Interface for types that can be both encoded to and decoded from CBOR.
This interface is a convenience marker for types that implement both
CborEncodableandCborDecodable. It serves to indicate full CBOR serialization support.Example