v8  8.6.395 (node 15.0.1)
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 4802 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 4815 of file v8.h.

Friends And Related Function Documentation

◆ WasmModuleObject

friend class WasmModuleObject
friend

Definition at line 4818 of file v8.h.

◆ WasmStreaming

friend class WasmStreaming
friend

Definition at line 4819 of file v8.h.


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