Skip to content

Graphorin API reference v0.12.1


Graphorin API reference / @graphorin/security / / MemoryRegionReader

Interface: MemoryRegionReader

Defined in: packages/security/src/guard/types.ts:73

Pluggable region reader. The host (the agent runtime, in Phase 12) supplies a region reader that knows how to materialise a region as raw bytes / a string for hashing.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
readreadonly(region) => Promise<string | Uint8Array&lt;ArrayBufferLike&gt;>Materialise the named region as bytes.packages/security/src/guard/types.ts:77
regionsreadonlyreadonly string[]Stable list of region names the guard should snapshot.packages/security/src/guard/types.ts:75