asRandomAccess

Creates a RandomAccessData instance that reads from a file.

Receiver

The Path of the file to read from.

Return

A RandomAccessData instance that reads from a file.

Throws

IOException

If an I/O error occurs.


Creates a RandomAccessData instance that reads from a file.

Receiver

The File to read from.

Return

A RandomAccessData instance that reads from a file.

Throws

IOException

If an I/O error occurs.

Creates a RandomAccessData instance that reads from a byte array.

Receiver

The byte array to read from.

Return

A RandomAccessData instance that reads from a byte array.

Creates a RandomAccessData instance that reads from a file.

Receiver

The Path of the file to read from.

Return

A RandomAccessData instance that reads from a file.

Throws

If an I/O error occurs.

Creates a RandomAccessData instance that reads from an ArrayBuffer.

Receiver

The ArrayBuffer to read from.

Return

A RandomAccessData instance that reads from an ArrayBuffer.


Creates a RandomAccessData instance that reads from an Int8Array.

Receiver

The Int8Array to read from.

Return

A RandomAccessData instance that reads from an Int8Array.