|
rapidyaml 0.14.0
parse and emit YAML, and do it fast
|
Load a file from disk into a buffer. More...
Functions | |
| void | c4::yml::file_get_contents (const char *filename, FILE *fp, size_t filesz, void *buf, size_t bufsz) |
| load a file of specified size from disk into an existing contiguous buffer. | |
| size_t | c4::yml::file_get_contents (const char *filename, FILE *fp, void *buf, size_t bufsz) |
| load a file from disk into an existing contiguous buffer. | |
| size_t | c4::yml::file_get_contents (const char *filename, void *buf, size_t bufsz, const char *access="rb") |
| load a file from disk into an existing contiguous buffer. | |
| template<class ContiguousContainer> | |
| void | c4::yml::file_get_contents (ContiguousContainer *v, const char *filename, const char *access="rb") |
| load a file from disk into an existing ContiguousContainer, resizing it to fit the file's contents | |
| template<class ContiguousContainer> | |
| ContiguousContainer | c4::yml::file_get_contents (const char *filename, const char *access="rb") |
| load a file from disk and return a newly created ContiguousContainer with the file contents | |
Load a file from disk into a buffer.
|
inline |
|
inline |
load a file from disk into an existing contiguous buffer.
Definition at line 104 of file file.hpp.
|
inline |
| void c4::yml::file_get_contents | ( | ContiguousContainer * | v, |
| const char * | filename, | ||
| const char * | access = "rb" ) |
load a file from disk into an existing ContiguousContainer, resizing it to fit the file's contents
Definition at line 130 of file file.hpp.
| ContiguousContainer c4::yml::file_get_contents | ( | const char * | filename, |
| const char * | access = "rb" ) |
load a file from disk and return a newly created ContiguousContainer with the file contents