v8  10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
CompiledWasmModule Class Reference

#include <v8-wasm.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 41 of file v8-wasm.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 54 of file v8-wasm.h.

Friends And Related Function Documentation

◆ WasmModuleObject

friend class WasmModuleObject
friend

Definition at line 57 of file v8-wasm.h.

◆ WasmStreaming

friend class WasmStreaming
friend

Definition at line 58 of file v8-wasm.h.


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