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

Public Member Functions

 DecodeFunctionLength (SectionBuffer *section_buffer, size_t buffer_offset, size_t num_remaining_functions)
 
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

SectionBuffer *const section_buffer_
 
const size_t buffer_offset_
 
const size_t num_remaining_functions_
 

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 512 of file streaming-decoder.cc.

Constructor & Destructor Documentation

◆ DecodeFunctionLength()

v8::internal::wasm::AsyncStreamingDecoder::DecodeFunctionLength::DecodeFunctionLength ( SectionBuffer * section_buffer,
size_t buffer_offset,
size_t num_remaining_functions )
inlineexplicit

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

Member Function Documentation

◆ NextWithValue()

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

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

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

Here is the call graph for this function:

Member Data Documentation

◆ buffer_offset_

const size_t v8::internal::wasm::AsyncStreamingDecoder::DecodeFunctionLength::buffer_offset_
private

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

◆ num_remaining_functions_

const size_t v8::internal::wasm::AsyncStreamingDecoder::DecodeFunctionLength::num_remaining_functions_
private

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

◆ section_buffer_

SectionBuffer* const v8::internal::wasm::AsyncStreamingDecoder::DecodeFunctionLength::section_buffer_
private

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


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