Attaches the addon to a terminal. Called by terminal.loadAddon().
Releases the active terminal reference.
Validates and restores a serialized snapshot, returning its decoded metadata.
Serializes metadata and the terminal snapshot into a portable byte array.
Creates and restores versioned binary terminal snapshots.