mediaforge - v0.1.0
GitHub
npm
JSR
Changelog
Preparing search index...
compat/guards
guardCodec
Function guardCodec
guardCodec
(
registry
:
CapabilityRegistry
,
codec
:
string
,
direction
?:
"encode"
|
"decode"
,
)
:
GuardResult
Guard a codec by probing the registry. Checks both encode capability and existence.
Parameters
registry
:
CapabilityRegistry
codec
:
string
direction
:
"encode"
|
"decode"
= 'encode'
Returns
GuardResult
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
JSR
Changelog
mediaforge - v0.1.0
Loading...
Guard a codec by probing the registry. Checks both encode capability and existence.