v8  3.28.71 (node 0.12.18)
V8 is Google's open source JavaScript engine
StartupDataDecompressor Class Referenceabstract

#include <v8.h>

Public Member Functions

 StartupDataDecompressor ()
 
virtual ~StartupDataDecompressor ()
 
int Decompress ()
 

Protected Member Functions

virtual int DecompressData (char *raw_data, int *raw_data_size, const char *compressed_data, int compressed_data_size)=0
 

Detailed Description

A helper class for driving V8 startup data decompression. It is based on "CompressedStartupData" API functions from the V8 class. It isn't mandatory for an embedder to use this class, instead, API functions can be used directly.

For an example of the class usage, see the "shell.cc" sample application.

Definition at line 4528 of file v8.h.

Constructor & Destructor Documentation

◆ StartupDataDecompressor()

◆ ~StartupDataDecompressor()

virtual ~StartupDataDecompressor ( )
virtual

Member Function Documentation

◆ Decompress()

int Decompress ( )

◆ DecompressData()

virtual int DecompressData ( char *  raw_data,
int *  raw_data_size,
const char *  compressed_data,
int  compressed_data_size 
)
protectedpure virtual

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