| Flutter Impeller |

Namespaces | Functions
allocation.cc File Reference
`#include "impeller/base/allocation.h"`
`#include <algorithm>`
`#include <cstring>`
`#include "impeller/base/validation.h"`

Go to the source code of this file.

## Namespaces
| impeller

## Functions
std::shared_ptr< fml::Mapping > | impeller::CreateMappingWithCopy (const uint8_t *contents, Bytes length)
| Creates a mapping with copy of the bytes. More...
std::shared_ptr< fml::Mapping > | impeller::CreateMappingFromAllocation (const std::shared_ptr< Allocation > &allocation)
| Creates a mapping from allocation. More...
std::shared_ptr< fml::Mapping > | impeller::CreateMappingWithString (std::string string)
| Creates a mapping with string data. More...