Flutter Engine
The Flutter Engine
Namespaces | Functions
files.cc File Reference
#include "files.h"
#include <fcntl.h>
#include <unistd.h>
#include <cstdint>
#include "flutter/fml/logging.h"

Go to the source code of this file.

Namespaces

namespace  dart_utils
 

Functions

bool dart_utils::ReadFileToString (const std::string &path, std::string *result)
 
bool dart_utils::ReadFileToStringAt (int dirfd, const std::string &path, std::string *result)
 
bool dart_utils::WriteFile (const std::string &path, const char *data, ssize_t size)