5#ifndef INCLUDE_V8_MEMORY_SPAN_H_
6#define INCLUDE_V8_MEMORY_SPAN_H_
30 constexpr MemorySpan(T* data,
size_t size) : data_(data), size_(size) {}
33 constexpr T*
data()
const {
return data_; }
35 constexpr size_t size()
const {
return size_; }
constexpr MemorySpan(T *data, size_t size)
constexpr T * data() const
constexpr MemorySpan()=default
constexpr size_t size() const