v8  9.4.146 (node 16.13.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 5078 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 5091 of file v8.h.

Friends And Related Function Documentation

◆ WasmModuleObject

friend class WasmModuleObject
friend

Definition at line 5094 of file v8.h.

◆ WasmStreaming

friend class WasmStreaming
friend

Definition at line 5095 of file v8.h.


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