V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::wasm::StreamingDecoder::DecodeVarInt32 Class Referenceabstract
Inheritance diagram for v8::internal::wasm::StreamingDecoder::DecodeVarInt32:
v8::internal::wasm::StreamingDecoder::DecodeFunctionLength v8::internal::wasm::StreamingDecoder::DecodeNumberOfFunctions v8::internal::wasm::StreamingDecoder::DecodeSectionLength

Public Member Functions

 DecodeVarInt32 (size_t max_value, const char *field_name)
 
Vector< uint8_t > buffer () override
 
size_t ReadBytes (StreamingDecoder *streaming, Vector< const uint8_t > bytes) override
 
std::unique_ptr< DecodingState > Next (StreamingDecoder *streaming) override
 
virtual std::unique_ptr< DecodingState > NextWithValue (StreamingDecoder *streaming)=0
 

Protected Attributes

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


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