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=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:d917:: with SMTP id p23-v6mr6673516itg.35.1537273475011; Tue, 18 Sep 2018 05:24:35 -0700 (PDT) X-Received: by 2002:a9d:4d90:: with SMTP id u16-v6mr225616otk.4.1537273474848; Tue, 18 Sep 2018 05:24:34 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!goblin1!goblin.stu.neva.ru!x188-v6no62583ite.0!news-out.google.com!c63-v6ni81ith.0!nntp.google.com!x81-v6no63188ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 18 Sep 2018 05:24:34 -0700 (PDT) In-Reply-To: <4260495f-b6f0-4ffe-833b-fb0c9e888923@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=121.45.194.120; posting-account=3BDb0woAAAAxEpy0UNGOioOboBRjpqqT NNTP-Posting-Host: 121.45.194.120 References: <01166054-3971-4df6-8af4-f9fc4d8a30c4@googlegroups.com> <082b9b50-7689-4990-8b7e-9106a6564371@googlegroups.com> <4260495f-b6f0-4ffe-833b-fb0c9e888923@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Interface To C Struct That Includes An Array From: rogermc@iinet.net.au Injection-Date: Tue, 18 Sep 2018 12:24:35 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:54361 Date: 2018-09-18T05:24:34-07:00 List-Id: On Tuesday, 18 September 2018 22:21:31 UTC+10, Egil H H wrote: > On Tuesday, September 18, 2018 at 1:54:37 PM UTC+2, rog...@iinet.net.au w= rote: > > The final three zeros above are an error in my report. >=20 > I don't think so. (11, 0, 0, 0) is most likely a 32-bit integer in little= -endian format (interpreted as a byte array, with each byte printed in deci= mal), and all of it represents the string length (and since the length is s= pecified, you should not assume a zero-terminated string) >=20 >=20 > --=20 > ~egilhh I meant the last three zeros of pcx0000=20 That is: The returned Assimp_Path is Length: 16, Data: B000phoenix.pcx0