class

CSV2::MappedFile

Inherits Reference < Object

A read-only memory-mapped file.

Constructors

open(path : String) : MappedFile

Maps +path+ read-only. Raises File::NotFoundError if the file does not exist, and IO::Error if the file is empty or cannot be mapped.

Source

Instance methods

close

Releases the mapping.

Source
data

The mapped bytes, as a UInt8 pointer.

Source
finalize
Source
size
Source