@mikuroxina/mini-fn
    Preparing search index...

    Type Alias Decoder<T>

    Decoder: <S>(
        ctx: DecContext,
    ) => (
        onFailure: FailureHandler<S>,
    ) => (onSuccess: SuccessHandler<T, S>) => ParseResult<S>

    A Decoder denotes the process that parses an item T from a sequence of bytes.

    Type Parameters

    • T

    Type Declaration