The node you are looking for is at gnat_rm/the_implementation_of_standard_i_o text-io-facilities-for-unbounded-strings.