10 #include "flutter/fml/macros.h"
11 #include "flutter/fml/mapping.h"
27 [[nodiscard]]
bool Truncate(
size_t length,
bool npot =
true);
32 uint8_t* buffer_ =
nullptr;
36 [[nodiscard]]
bool Reserve(
size_t reserved);
38 [[nodiscard]]
bool ReserveNPOT(
size_t reserved);
47 const std::shared_ptr<Allocation>& allocation);
50 std::shared_ptr<const std::string>
string);