transferum
    Preparing search index...

    Interface StorageInterface<TInput, TOutput>

    Bidirectional storage with size tracking, clear, and reset.

    interface StorageInterface<TInput, TOutput> {
        size: number;
        clear(): void;
        read(): TOutput | undefined;
        reset(): void;
        write(data: TInput): void;
    }

    Type Parameters

    • TInput
    • TOutput

    Hierarchy (View Summary)

    Implemented by

    Index
    size: number