AdaCL.EAstrings.Transcoding

More...

Entities

Subprograms

Close_Converter
Convert
Open_Converter
Reset_Converter
Transcode

Description

Close_Converter [source]

36 procedure Close_Converter (Item : in out Converter);
Item of type AdaCL.EAstrings.Converter

Convert [source]

28 procedure Convert
29 (State : in Converter;
30 Source : in Byte_Sequence;
31 Target : out Byte_Sequence;
32 Source_Last : out Natural; -- index of last source byte converted
33 Target_Last : out Natural; -- index of last target byte in use
34 Cause : out Conversion_Stop_Cause);
State of type AdaCL.EAstrings.Converter
Source of type AdaCL.EAstrings.Byte_Sequence
Target of type AdaCL.EAstrings.Byte_Sequence
Source_Last of type Natural

index of last source byte converted

Target_Last of type Natural

index of last target byte in use

Cause of type AdaCL.EAstrings.Conversion_Stop_Cause

Open_Converter [source]

24 function Open_Converter
25 (From, To : Character_Encoding)
26 return Converter;
From of type AdaCL.EAstrings.Character_Encodings.Character_Encoding
To of type AdaCL.EAstrings.Character_Encodings.Character_Encoding
Return value

Reset_Converter [source]

38 procedure Reset_Converter (Item : in Converter);
Item of type AdaCL.EAstrings.Converter

Transcode [source]

40 function Transcode
41 (Source : in EAstring;
42 New_Encoding : in Character_Encoding)
43 return EAstring;
Source of type AdaCL.EAstrings.EAstring
New_Encoding of type AdaCL.EAstrings.Character_Encodings.Character_Encoding
Return value