Ada.Wide_Text_IO
Text_IO with Wide_Character and Wide_String (RM A.11), a file's characters held as UTF-8.
Read the family guide for representation, selection and resource rules. The complete declaration page retains exact signatures/contracts; the source specification is the implementation baseline.
Availability and ownership
The library-level instance of Ada.Text_IO.Wide_Generic for Wide_Character and Wide_String: its operations and contracts are the generic's.
A client proof uses these contracts without proving the body again (see library assurance). Global => null excludes package-global effects, not changes made through an in out argument.
Import and instantiate
with Ada.Wide_Text_IO;import Ada.Wide_Text_IO;
A Vibe module imports this unit's names with from Ada.Wide_Text_IO import Name; see library use across syntaxes. In Varc, keep each name's declared spelling and write & on arguments the call changes.
Contract and lifecycle reading
A Pre condition is the caller's obligation; a Post is what a normal return guarantees. What a postcondition does not state, a client cannot assume. Ghost functions are for contracts and ghost code. The family guide describes copying, lifetime, order and cost.
API 001
Ada.Wide_Text_IO (declaration) — The instance of Ada.Text_IO.Wide_Generic for Wide_Character and Wide_String: every Text_IO operation and generic package, with its contracts, for wide characters and strings.
Declared interface:
package Ada.Wide_Text_IO is new Ada.Text_IO.Wide_Generic (Wide_Character, Wide_String);