#include "third_party/blink/renderer/core/typed_arrays/dom_array_piece.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_union_arraybuffer_arraybufferview.h"
namespace blink {
DOMArrayPiece::DOMArrayPiece() { … }
DOMArrayPiece::DOMArrayPiece(DOMArrayBuffer* buffer) { … }
DOMArrayPiece::DOMArrayPiece(DOMArrayBufferView* buffer) { … }
DOMArrayPiece::DOMArrayPiece(
const V8UnionArrayBufferOrArrayBufferView* array_buffer_or_view) { … }
bool DOMArrayPiece::IsNull() const { … }
bool DOMArrayPiece::IsDetached() const { … }
void* DOMArrayPiece::Data() const { … }
unsigned char* DOMArrayPiece::Bytes() const { … }
size_t DOMArrayPiece::ByteLength() const { … }
base::span<uint8_t> DOMArrayPiece::ByteSpan() const { … }
void DOMArrayPiece::InitWithArrayBuffer(DOMArrayBuffer* buffer) { … }
void DOMArrayPiece::InitWithArrayBufferView(DOMArrayBufferView* buffer) { … }
void DOMArrayPiece::InitWithData(base::span<uint8_t> data) { … }
void DOMArrayPiece::InitNull() { … }
}