Function iteratorFromData

  • Converts a buffer into an iterator expected by isomorphic git.

    Parameters

    • data: Uint8Array

      Data to be turned into an iterator

    Returns {
        next() => Promise<{
            done: boolean;
            value?: undefined;
        } | {
            done: boolean;
            value: Uint8Array;
        }>;
    }

    • next:function
      • Returns Promise<{
            done: boolean;
            value?: undefined;
        } | {
            done: boolean;
            value: Uint8Array;
        }>

Generated using TypeDoc