Nп/п : 27 из 100
 От   : Janis Papanagnou                    2:5075/128        03 сен 23 13:05:39
 К    : Kaz Kylheku                                           03 сен 23 14:07:01
 Тема : Re: Musings about inspecting and processing binary data with shell
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 1@dont-email.me> 9cc66f0f
@REPLY: <20230902214850.617@kylheku.com> 146c775b
@REPLYADDR Janis Papanagnou
<janis_papanagnou+ng@hotmail.com>
@REPLYTO 2:5075/128 Janis Papanagnou
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID: 1@dont-email.me>
@RFC-References: 1@dont-email.me>
<64f26b69@news.ausics.net> 1@dont-email.me> <20230902214850.617@kylheku.com>
@TZUTC: 0200
@PID: Mozilla/5.0 (X11; Linux x86_64; rv:45.0)
Gecko/20100101 Thunderbird/45.8.0
@TID: FIDOGATE-5.12-ge4e8b94
On 03.09.2023 08:25, Kaz Kylheku wrote:
> On 2023-09-02, Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>> BTW, in the poke docs I saw examples WRT endian`ness, like the spec
>>     little int a;
>>     big int b;

> "big endian int" is nonsensical, which detracts from the example.

> Endian specifications only make sense on exact sized types like int16,
> uint32 or int64.

I cannot speak for the `poke` package; maybe `int` is just a shortcut
for the `int` type of the concrete machine where it is running.
Similar to the "int c" declaration (from my quote upthread) that is
assuming (as far as I recall) some default endian`ness on the machine.

Janis

> [...]


--- Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
 * Origin: A noiseless patient Spider (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх