OpenGL::Sandbox::MMap - Wrapper around a memory-mapped scalar ref
my $mmap= OpenGL::Sandbox::MMap->new("Filename.ttf");
This is a simple wrapper around File::Map to make it more convenient to open read-only memory-mapped files, and to make sure they are distinctly held as references and not accidentally copied into perl scalars.
Number of bytes mapped from file. Same as
my $mmap= OpenGL::Sandbox::MMap->new($filename);
Return a blessed reference to a scalar which points to memory-mapped data.
$filename is always opened read-only.
Michael Conrad <firstname.lastname@example.org>
This software is copyright (c) 2019 by Michael Conrad.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.