A deno file instance
Info for the file instance
Deno's internal file handle representation.
Information about this file.
The total length, in bytes, of the file this instance represents.
Closes the local file handle for the current platform. After this function is called all subsequent operations on this file, or any other data sources depending on this file, will fail.
Loads the file into an ArrayBuffer. Optionally a start and end can be specified to load a part of the file.
The offset at which the data will start loading
The offset at which the data will stop loading
Loads data into a buffer with the specified parameters.
The buffer in which the data will be loaded. It must be large enough to fit the data requested
The byte offset within the buffer at which the data will be written
The byte offset within the file where data will be read
The byte offset within the file at which the data will stop being read
Slices the file and returns a data chunk pointing at the data within the specified boundaries.
Pointer to the start of the data in bytes
Pointer to the end of the data in bytes
Utility function to wrap a file as a DataFile for this platform.
The file to wrap
Generated using TypeDoc
Represents a data file on the deno platform.