Coda by Ian Macalinao
Preparing search index...
@macalinao/coda
fixedSizeTypeNode
Function fixedSizeTypeNode
fixedSizeTypeNode
<
const
TType
extends
TypeNode
>
(
type
:
TType
,
size
:
number
,
)
:
FixedSizeTypeNode
<
TType
>
Wraps another type and asserts a fixed total byte size. Padding or truncation is applied as needed.
Type Parameters
const
TType
extends
TypeNode
Parameters
type
:
TType
size
:
number
Returns
FixedSizeTypeNode
<
TType
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...
Wraps another type and asserts a fixed total byte size. Padding or truncation is applied as needed.