V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::wasm::StreamingDecoder Class Reference

Classes

class  DecodeFunctionBody
 
class  DecodeFunctionLength
 
class  DecodeModuleHeader
 
class  DecodeNumberOfFunctions
 
class  DecodeSectionID
 
class  DecodeSectionLength
 
class  DecodeSectionPayload
 
class  DecodeVarInt32
 

Public Types

using ModuleCompiledCallback = std::function< void(Handle< WasmModuleObject >)>
 

Public Member Functions

 StreamingDecoder (std::unique_ptr< StreamingProcessor > processor)
 
void OnBytesReceived (Vector< const uint8_t > bytes)
 
void Finish ()
 
void Abort ()
 
void NotifyCompilationEnded ()
 
void SetModuleCompiledCallback (ModuleCompiledCallback callback)
 
bool SetCompiledModuleBytes (Vector< const uint8_t > compiled_module_bytes)
 
ModuleCompiledCallback module_compiled_callback () const
 

Detailed Description

Definition at line 70 of file streaming-decoder.h.


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