v8
3.11.10 (node 0.8.28)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Public Types | |
enum | OutputEncoding { kAscii = 0 } |
enum | WriteResult { kContinue = 0 , kAbort = 1 } |
Public Member Functions | |
virtual | ~OutputStream () |
virtual void | EndOfStream ()=0 |
virtual int | GetChunkSize () |
virtual OutputEncoding | GetOutputEncoding () |
virtual WriteResult | WriteAsciiChunk (char *data, int size)=0 |
virtual WriteResult | WriteHeapStatsChunk (HeapStatsUpdate *data, int count) |
enum OutputEncoding |
enum WriteResult |
|
inlinevirtual |
|
pure virtual |
Notify about the end of stream.
|
inlinevirtual |
|
inlinevirtual |
Get preferred output encoding. Called only once.
Definition at line 3802 of file v8.h.
References OutputStream::kAscii.
|
pure virtual |
Writes the next chunk of snapshot data into the stream. Writing can be stopped by returning kAbort as function result. EndOfStream will not be called in case writing was aborted.
|
inlinevirtual |
Writes the next chunk of heap stats data into the stream. Writing can be stopped by returning kAbort as function result. EndOfStream will not be called in case writing was aborted.
Definition at line 3814 of file v8.h.
References OutputStream::kAbort.