Class E2bSnapshotRefs
java.lang.Object
io.agentscope.extensions.sandbox.e2b.E2bSnapshotRefs
Cross-language marker for E2B native snapshot references, aligned with openai-agents-python
E2B_SANDBOX_SNAPSHOT_V1.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringdecodeSnapshotIdIfPresent(byte[] raw) static byte[]encodeSnapshotId(String snapshotId)
-
Field Details
-
MAGIC_PREFIX
public static final byte[] MAGIC_PREFIX
-
-
Method Details
-
encodeSnapshotId
- Throws:
Exception
-
decodeSnapshotIdIfPresent
-