AnyContentCodec
AnyContentCodec =
object
Defined in: sdks/node/dist/runtime/public/codec.d.ts:25
A codec of any value type, as a client registers it. Registration only decodes received content, so the value type is erased here.
Properties
Section titled “Properties”
readonlytype:ContentTypeId
Defined in: sdks/node/dist/runtime/public/codec.d.ts:26
Methods
Section titled “Methods”decode()
Section titled “decode()”decode(
encoded):unknown
Defined in: sdks/node/dist/runtime/public/codec.d.ts:28
Parameters
Section titled “Parameters”encoded
Section titled “encoded”Returns
Section titled “Returns”unknown
encode()
Section titled “encode()”encode(
value):EncodedContent
Defined in: sdks/node/dist/runtime/public/codec.d.ts:27
Parameters
Section titled “Parameters”never