CompositeCodec
Class: CompositeCodec
Implements
Constructors
constructor
new CompositeCodec()
Accessors
contentType
get
contentType(): ContentTypeId
Returns
Implementation of
Defined in
Methods
decode
decode(content
, codecs
): Composite
Parameters
Name | Type |
---|---|
content | EncodedContent |
codecs | CodecRegistry |
Returns
Implementation of
Defined in
encode
encode(content
, codecs
): EncodedContent
Parameters
Name | Type |
---|---|
content | Composite |
codecs | CodecRegistry |
Returns
Implementation of
Defined in
fromProto
Private
fromProto(content
, codecs
): Composite
Parameters
Name | Type |
---|---|
content | Composite_Part |
codecs | CodecRegistry |
Returns
Defined in
toProto
Private
toProto(content
, codecs
): Composite_Part
Parameters
Name | Type |
---|---|
content | Composite |
codecs | CodecRegistry |
Returns
Composite_Part