v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::StartupData Class Reference

#include <v8-snapshot.h>

Collaboration diagram for v8::StartupData:

Public Member Functions

bool CanBeRehashed () const
 
bool IsValid () const
 

Public Attributes

const char * data
 
int raw_size
 

Detailed Description

Definition at line 21 of file v8-snapshot.h.

Member Function Documentation

◆ CanBeRehashed()

bool v8::StartupData::CanBeRehashed ( ) const

Whether the data created can be rehashed and and the hash seed can be recomputed when deserialized. Only valid for StartupData returned by SnapshotCreator::CreateBlob().

Definition at line 417 of file api.cc.

◆ IsValid()

bool v8::StartupData::IsValid ( ) const

Allows embedders to verify whether the data is valid for the current V8 instance.

Definition at line 422 of file api.cc.

Member Data Documentation

◆ data

const char* v8::StartupData::data

Definition at line 35 of file v8-snapshot.h.

◆ raw_size

int v8::StartupData::raw_size

Definition at line 36 of file v8-snapshot.h.


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