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

Public Member Functions

virtual ~DecodingState ()=default
 
virtual size_t ReadBytes (AsyncStreamingDecoder *streaming, base::Vector< const uint8_t > bytes)
 
virtual std::unique_ptr< DecodingStateNext (AsyncStreamingDecoder *streaming)=0
 
virtual base::Vector< uint8_t > buffer ()=0
 
size_t offset () const
 
void set_offset (size_t value)
 
virtual bool is_finishing_allowed () const
 

Private Attributes

size_t offset_ = 0
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ~DecodingState()

virtual v8::internal::wasm::AsyncStreamingDecoder::DecodingState::~DecodingState ( )
virtualdefault

Member Function Documentation

◆ buffer()

virtual base::Vector< uint8_t > v8::internal::wasm::AsyncStreamingDecoder::DecodingState::buffer ( )
pure virtual

◆ is_finishing_allowed()

virtual bool v8::internal::wasm::AsyncStreamingDecoder::DecodingState::is_finishing_allowed ( ) const
inlinevirtual

◆ Next()

◆ offset()

size_t v8::internal::wasm::AsyncStreamingDecoder::DecodingState::offset ( ) const
inline

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

Here is the caller graph for this function:

◆ ReadBytes()

size_t v8::internal::wasm::AsyncStreamingDecoder::DecodingState::ReadBytes ( AsyncStreamingDecoder * streaming,
base::Vector< const uint8_t > bytes )
virtual

Reimplemented in v8::internal::wasm::AsyncStreamingDecoder::DecodeVarInt32.

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

Here is the call graph for this function:

◆ set_offset()

void v8::internal::wasm::AsyncStreamingDecoder::DecodingState::set_offset ( size_t value)
inline

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

Here is the caller graph for this function:

Member Data Documentation

◆ offset_

size_t v8::internal::wasm::AsyncStreamingDecoder::DecodingState::offset_ = 0
private

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


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