Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions
file.h File Reference
#include <string>
#include <vector>
#include "tonic/filesystem/filesystem/eintr_wrapper.h"
#include "tonic/filesystem/filesystem/portable_unistd.h"

Go to the source code of this file.

Classes

class  filesystem::Descriptor
 

Namespaces

namespace  filesystem
 

Functions

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)
 
std::pair< uint8_t *, intptr_t > filesystem::ReadFileDescriptorToBytes (int fd)