Flutter Engine
The Flutter Engine
Namespaces | Macros | Functions
file.cc File Reference
#include "tonic/filesystem/filesystem/file.h"
#include <fcntl.h>
#include <sys/stat.h>
#include <climits>
#include <cstdint>
#include "tonic/common/build_config.h"
#include "tonic/filesystem/filesystem/eintr_wrapper.h"
#include "tonic/filesystem/filesystem/portable_unistd.h"

Go to the source code of this file.

Namespaces

namespace  filesystem
 

Macros

#define BINARY_MODE   0
 

Functions

std::pair< uint8_t *, intptr_t > filesystem::ReadFileDescriptorToBytes (int fd)
 
bool filesystem::ReadFileToString (const std::string &path, std::string *result)
 
bool filesystem::ReadFileDescriptorToString (int fd, std::string *result)
 
std::pair< uint8_t *, intptr_t > filesystem::ReadFileToBytes (const std::string &path)
 

Macro Definition Documentation

◆ BINARY_MODE

#define BINARY_MODE   0

Definition at line 18 of file file.cc.