Skip to main content

dataFillsSlot() function

checks if data fills into slot capacity ()

Signature:

export declare function dataFillsSlot(slot: Uint8Array, newData: Uint8Array): boolean;

Parameters

ParameterTypeDescription
slotUint8Arraycurrent slot data
newDataUint8Arraynew slot data

Returns:

boolean

boolean