Synced
EditorHistoryPayload.FromBytes
Section titled “EditorHistoryPayload.FromBytes”
- Creates an immutable history payload by copying the supplied bytes.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Interactions
Scope: Editor
Declaration
Section titled “Declaration”public static InnoEditor.Interactions.EditorHistoryPayload InnoEditor.Interactions.EditorHistoryPayload.FromBytes(System.ReadOnlySpan<byte> bytes)Parameters
Section titled “Parameters”Parameter bytes: The neutral bytes to retain for future Undo and Redo transitions.
Returns
Section titled “Returns”A new independently owned payload.