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

Public Member Functions

 DecodeSectionLength (uint8_t id, uint32_t module_offset)
 
std::unique_ptr< DecodingStateNextWithValue (AsyncStreamingDecoder *streaming) override
 
- Public Member Functions inherited from v8::internal::wasm::AsyncStreamingDecoder::DecodeVarInt32
 DecodeVarInt32 (size_t max_value, const char *field_name)
 
base::Vector< uint8_t > buffer () override
 
size_t ReadBytes (AsyncStreamingDecoder *streaming, base::Vector< const uint8_t > bytes) override
 
std::unique_ptr< DecodingStateNext (AsyncStreamingDecoder *streaming) override
 
- Public Member Functions inherited from v8::internal::wasm::AsyncStreamingDecoder::DecodingState
virtual ~DecodingState ()=default
 
size_t offset () const
 
void set_offset (size_t value)
 
virtual bool is_finishing_allowed () const
 

Private Attributes

const uint8_t section_id_
 
const uint32_t module_offset_
 

Additional Inherited Members

- Protected Attributes inherited from v8::internal::wasm::AsyncStreamingDecoder::DecodeVarInt32
uint8_t byte_buffer_ [kMaxVarInt32Size]
 
const size_t max_value_
 
const char *const field_name_
 
size_t value_ = 0
 
size_t bytes_consumed_ = 0
 

Detailed Description

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

Constructor & Destructor Documentation

◆ DecodeSectionLength()

v8::internal::wasm::AsyncStreamingDecoder::DecodeSectionLength::DecodeSectionLength ( uint8_t id,
uint32_t module_offset )
inlineexplicit

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

Here is the call graph for this function:

Member Function Documentation

◆ NextWithValue()

std::unique_ptr< AsyncStreamingDecoder::DecodingState > v8::internal::wasm::AsyncStreamingDecoder::DecodeSectionLength::NextWithValue ( AsyncStreamingDecoder * streaming)
overridevirtual

Implements v8::internal::wasm::AsyncStreamingDecoder::DecodeVarInt32.

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

Here is the call graph for this function:

Member Data Documentation

◆ module_offset_

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

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

◆ section_id_

const uint8_t v8::internal::wasm::AsyncStreamingDecoder::DecodeSectionLength::section_id_
private

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


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