public class BinarySnapshotProvider extends Object implements SnapshotProvider
| Modifier and Type | Field and Description |
|---|---|
static int |
MAGIC |
| Constructor and Description |
|---|
BinarySnapshotProvider(byte[] bytes) |
BinarySnapshotProvider(ByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
Object |
apply(NodeFactory nodeFactory,
JSContext context,
com.oracle.truffle.api.source.Source source) |
public static final int MAGIC
public BinarySnapshotProvider(ByteBuffer buffer)
public BinarySnapshotProvider(byte[] bytes)
public Object apply(NodeFactory nodeFactory, JSContext context, com.oracle.truffle.api.source.Source source)
apply in interface SnapshotProvider