v8
9.4.146 (node 16.13.0)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Public Member Functions | |
constexpr | MemorySpan ()=default |
constexpr | MemorySpan (T *data, size_t size) |
constexpr T * | data () const |
constexpr size_t | size () const |
Points to an unowned continous buffer holding a known number of elements.
This is similar to std::span (under consideration for C++20), but does not require advanced C++ support. In the (far) future, this may be replaced with or aliased to std::span.
To facilitate future migration, this class exposes a subset of the interface implemented by std::span.
|
constexprdefault |
The default constructor creates an empty span.
Referenced by FunctionTemplate::NewWithCFunctionOverloads(), and FunctionTemplate::SetCallHandler().
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |