v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::wasm::AsyncStreamingDecoder::SectionBuffer Class Reference
Inheritance diagram for v8::internal::wasm::AsyncStreamingDecoder::SectionBuffer:
Collaboration diagram for v8::internal::wasm::AsyncStreamingDecoder::SectionBuffer:

Public Member Functions

 SectionBuffer (uint32_t module_offset, uint8_t id, size_t payload_length, base::Vector< const uint8_t > length_bytes)
 
SectionCode section_code () const
 
base::Vector< const uint8_t > GetCode (WireBytesRef ref) const final
 
std::optional< ModuleWireBytesGetModuleBytes () const final
 
uint32_t module_offset () const
 
base::Vector< uint8_t > bytes () const
 
base::Vector< uint8_t > payload () const
 
size_t length () const
 
size_t payload_offset () const
 
- Public Member Functions inherited from v8::internal::wasm::WireBytesStorage
virtual ~WireBytesStorage ()=default
 

Private Attributes

const uint32_t module_offset_
 
const base::OwnedVector< uint8_t > bytes_
 
const size_t payload_offset_
 

Detailed Description

Definition at line 51 of file streaming-decoder.cc.

Constructor & Destructor Documentation

◆ SectionBuffer()

v8::internal::wasm::AsyncStreamingDecoder::SectionBuffer::SectionBuffer ( uint32_t module_offset,
uint8_t id,
size_t payload_length,
base::Vector< const uint8_t > length_bytes )
inline

Definition at line 56 of file streaming-decoder.cc.

Here is the call graph for this function:

Member Function Documentation

◆ bytes()

base::Vector< uint8_t > v8::internal::wasm::AsyncStreamingDecoder::SectionBuffer::bytes ( ) const
inline

Definition at line 81 of file streaming-decoder.cc.

◆ GetCode()

base::Vector< const uint8_t > v8::internal::wasm::AsyncStreamingDecoder::SectionBuffer::GetCode ( WireBytesRef ref) const
inlinefinalvirtual

Implements v8::internal::wasm::WireBytesStorage.

Definition at line 71 of file streaming-decoder.cc.

◆ GetModuleBytes()

std::optional< ModuleWireBytes > v8::internal::wasm::AsyncStreamingDecoder::SectionBuffer::GetModuleBytes ( ) const
inlinefinalvirtual

Implements v8::internal::wasm::WireBytesStorage.

Definition at line 78 of file streaming-decoder.cc.

◆ length()

size_t v8::internal::wasm::AsyncStreamingDecoder::SectionBuffer::length ( ) const
inline

Definition at line 83 of file streaming-decoder.cc.

◆ module_offset()

uint32_t v8::internal::wasm::AsyncStreamingDecoder::SectionBuffer::module_offset ( ) const
inline

Definition at line 80 of file streaming-decoder.cc.

Here is the caller graph for this function:

◆ payload()

base::Vector< uint8_t > v8::internal::wasm::AsyncStreamingDecoder::SectionBuffer::payload ( ) const
inline

Definition at line 82 of file streaming-decoder.cc.

Here is the caller graph for this function:

◆ payload_offset()

size_t v8::internal::wasm::AsyncStreamingDecoder::SectionBuffer::payload_offset ( ) const
inline

Definition at line 84 of file streaming-decoder.cc.

Here is the caller graph for this function:

◆ section_code()

SectionCode v8::internal::wasm::AsyncStreamingDecoder::SectionBuffer::section_code ( ) const
inline

Definition at line 67 of file streaming-decoder.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ bytes_

const base::OwnedVector<uint8_t> v8::internal::wasm::AsyncStreamingDecoder::SectionBuffer::bytes_
private

Definition at line 88 of file streaming-decoder.cc.

◆ module_offset_

const uint32_t v8::internal::wasm::AsyncStreamingDecoder::SectionBuffer::module_offset_
private

Definition at line 87 of file streaming-decoder.cc.

◆ payload_offset_

const size_t v8::internal::wasm::AsyncStreamingDecoder::SectionBuffer::payload_offset_
private

Definition at line 89 of file streaming-decoder.cc.


The documentation for this class was generated from the following file: