From: Egil H H <ehh.public@gmail.com>
Subject: Re: Interface To C Struct That Includes An Array
Date: Tue, 18 Sep 2018 05:21:29 -0700 (PDT)
Date: 2018-09-18T05:21:29-07:00 [thread overview]
Message-ID: <4260495f-b6f0-4ffe-833b-fb0c9e888923@googlegroups.com> (raw)
In-Reply-To: <082b9b50-7689-4990-8b7e-9106a6564371@googlegroups.com>
On Tuesday, September 18, 2018 at 1:54:37 PM UTC+2, rog...@iinet.net.au wrote:
> The final three zeros above are an error in my report.
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 decimal), and all of it represents the string length (and since the length is specified, you should not assume a zero-terminated string)
--
~egilhh
next prev parent reply other threads:[~2018-09-18 12:21 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-17 12:01 Interface To C Struct That Includes An Array rogermc
2018-09-17 12:11 ` rogermc
2018-09-17 15:25 ` Lucretia
2018-09-17 22:35 ` Roger
2018-09-18 0:45 ` Roger
2018-09-18 1:19 ` rogermc
2018-09-17 12:26 ` gautier_niouzes
2018-09-17 13:28 ` Roger
2018-09-17 13:55 ` gautier_niouzes
2018-09-17 14:03 ` Roger
2018-09-17 15:24 ` Lucretia
2018-09-17 23:06 ` Roger
2018-09-17 16:29 ` Jeffrey R. Carter
2018-09-17 22:57 ` Roger
2018-09-18 0:53 ` Roger
2018-09-18 4:18 ` Roger
2018-09-18 8:19 ` rakusu_klein
2018-09-18 11:54 ` rogermc
2018-09-18 12:21 ` Egil H H [this message]
2018-09-18 12:24 ` rogermc
2018-09-18 18:55 ` rakusu_klein
2018-09-18 21:28 ` rogermc
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox