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

    Function runDecoderStateAndRest

    • Executes a Decoder with a whole source data and returns the unused rest.

      Type Parameters

      • T

      Parameters

      Returns (
          input: DataView,
      ) => (
          offset: number,
      ) => readonly [Result.Result<string, T>, DataView<ArrayBufferLike>]

      The parsing result on success or error messages on failure, and the unused rest of input.