v8  8.4.371 (node 14.15.5)
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 4756 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 4769 of file v8.h.

Friends And Related Function Documentation

◆ WasmModuleObject

friend class WasmModuleObject
friend

Definition at line 4772 of file v8.h.

◆ WasmStreaming

friend class WasmStreaming
friend

Definition at line 4773 of file v8.h.


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