v8  9.0.257(node16.0.0)
V8 is Google's open source JavaScript engine
CompiledWasmModule Class Reference

#include <v8.h>

Public Member Functions

OwnedBuffer Serialize ()
 
MemorySpan< const uint8_t > GetWireBytesRef ()
 
const std::string & source_url () const
 

Friends

class WasmModuleObject
 
class WasmStreaming
 

Detailed Description

Definition at line 5037 of file v8.h.

Member Function Documentation

◆ GetWireBytesRef()

MemorySpan<const uint8_t> GetWireBytesRef ( )

Get the (wasm-encoded) wire bytes that were used to compile this module.

◆ Serialize()

OwnedBuffer Serialize ( )

Serialize the compiled module. The serialized data does not include the wire bytes.

◆ source_url()

const std::string& source_url ( ) const
inline

Definition at line 5050 of file v8.h.

Friends And Related Function Documentation

◆ WasmModuleObject

friend class WasmModuleObject
friend

Definition at line 5053 of file v8.h.

◆ WasmStreaming

friend class WasmStreaming
friend

Definition at line 5054 of file v8.h.


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