v8  3.11.10(node0.8.28)
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 2883 of file v8.h.

Constructor & Destructor Documentation

virtual ~StartupDataDecompressor ( )
virtual

Member Function Documentation

int Decompress ( )
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: