this repo has no description
1/* Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com) */
2#pragma once
3
4#include "api-handle.h"
5#include "handles-decl.h"
6#include "runtime.h"
7
8namespace py {
9
10// Returns the handle's cache buffer, if it already exists. Otherwise,
11// allocates a buffer, copies the bytes's contents, and caches it on the handle.
12char* bytesAsString(Runtime* runtime, ApiHandle* handle, const Bytes& bytes);
13
14} // namespace py