Preparing search index...
The search index is not available
Endo API documentation
Endo API documentation
@endo/captp
makeMarshal
Function makeMarshal
make
Marshal
<
Slot
>
(
convertValToSlot
?
,
convertSlotToVal
?
,
options
?
)
:
{
fromCapData
:
FromCapData
<
Slot
>
;
serialize
:
ToCapData
<
Slot
>
;
toCapData
:
ToCapData
<
Slot
>
;
unserialize
:
FromCapData
<
Slot
>
;
}
Type Parameters
Slot
Parameters
Optional
convertValToSlot
:
ConvertValToSlot
<
Slot
>
= defaultValToSlotFn
Optional
convertSlotToVal
:
ConvertSlotToVal
<
Slot
>
= defaultSlotToValFn
options
:
MakeMarshalOptions
= {}
Returns
{
fromCapData
:
FromCapData
<
Slot
>
;
serialize
:
ToCapData
<
Slot
>
;
toCapData
:
ToCapData
<
Slot
>
;
unserialize
:
FromCapData
<
Slot
>
;
}
from
Cap
Data
:
FromCapData
<
Slot
>
serialize
:
ToCapData
<
Slot
>
Deprecated
use toCapData
to
Cap
Data
:
ToCapData
<
Slot
>
unserialize
:
FromCapData
<
Slot
>
Deprecated
use fromCapData
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Endo API documentation
Loading...
Deprecated
use toCapData