• Open a buffer for reading.

    Parameters

    • buffer: Uint8Array

      The buffer to read from.

    Returns number

    The file descriptor for the buffer reader.