mediaforge - v0.1.0
GitHub
npm
JSR
Changelog
Preparing search index...
compat/guards
assertCodec
Function assertCodec
assertCodec
(
registry
:
CapabilityRegistry
,
codec
:
string
,
direction
?:
"encode"
|
"decode"
,
)
:
void
Like guardCodec, but throws a GuardError if the codec is unavailable.
Parameters
registry
:
CapabilityRegistry
codec
:
string
direction
:
"encode"
|
"decode"
= 'encode'
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
JSR
Changelog
mediaforge - v0.1.0
Loading...
Like guardCodec, but throws a GuardError if the codec is unavailable.