From mboxrd@z Thu Jan 1 00:00:00 1970
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me
X-Spam-Level:
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
autolearn_force=no version=3.4.4
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103376,4b4c3319d9998f6b
X-Google-Attributes: gid103376,public
X-Google-ArrivalTime: 2004-03-31 01:33:05 PST
Path:
archiver1.google.com!news1.google.com!news.glorb.com!news.cs.univ-paris8.fr!proxad.net!wanadoo.fr!not-for-mail
From: Pascal Obry
Newsgroups: comp.lang.ada
Subject: Re: Stream_Element_Array 2 String
Date: 31 Mar 2004 11:32:59 +0200
Organization: Home - http://perso.wanadoo.fr/pascal.obry
Message-ID:
References:
NNTP-Posting-Host: avelizy-103-1-3-226.w217-128.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news-reader1.wanadoo.fr 1080725585 20620 217.128.47.226 (31 Mar 2004
09:33:05 GMT)
X-Complaints-To: abuse@wanadoo.fr
NNTP-Posting-Date: 31 Mar 2004 09:33:05 GMT
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.95
Xref: archiver1.google.com comp.lang.ada:6687
Date: 2004-03-31T09:33:05+00:00
List-Id:
Duncan Sands writes:
> > There is a third way, using address overlays, which is possibly rather
> > easier to get wrong .. I always feel uncomfortable with it, but here
> > goes:
>
> What if a Stream_Element is not the same size as a Character?
You can check that and use the right implementation to convert from/to
Stream_Element_Array. We use this technique in AWS.
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595