v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
StartupData Class Reference

#include <v8-snapshot.h>

Public Member Functions

bool CanBeRehashed () const
 
bool IsValid () const
 

Data Fields

const char * data
 
int raw_size
 

Detailed Description

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

Member Function Documentation

◆ CanBeRehashed()

bool 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().

◆ IsValid()

bool IsValid ( ) const

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

Field Documentation

◆ data

const char* data

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

◆ raw_size

int raw_size

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


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