Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Obtains a newly owned complete document snapshot.

API: engine
Project: Inno.Core.IO

public byte[]? Inno.Core.IO.FileByteDocumentStore.Read()

Owned document bytes, or null when no document exists; an empty document remains distinct from absence.

One rename-compatible handle pins the selected complete publication until its owned bytes are read. Writers must atomically replace the document rather than modify the selected file in place.

Exception T:System.IO.IOException: The document cannot be read completely or exceeds the maximum supported byte-array size.

Exception T:System.UnauthorizedAccessException: The selected location denies reading or names a directory instead of a document.