Title: | Provides 'mio' C++11 Header Files |
---|---|
Description: | Provides header files of 'mio', a cross-platform C++11 header-only library for memory mapped file IO <https://github.com/mandreyel/mio>. |
Authors: | Florian Privé [aut, cre] |
Maintainer: | Florian Privé <[email protected]> |
License: | GPL-3 |
Version: | 0.4.0 |
Built: | 2024-11-03 03:34:37 UTC |
Source: | https://github.com/privefl/rmio |
Create or resize files
file_create(file, size) file_resize(file, size) file_resize_off(file, size)
file_create(file, size) file_resize(file, size) file_resize_off(file, size)
file |
Path name. |
size |
Size in bytes. |
Input file
, invisibly.
tmp <- tempfile() file_create(tmp, 10) file.size(tmp) file_resize(tmp, 5) file.size(tmp) file_resize_off(tmp, 10) file.size(tmp)
tmp <- tempfile() file_create(tmp, 10) file.size(tmp) file_resize(tmp, 5) file.size(tmp) file_resize_off(tmp, 10) file.size(tmp)