<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)"><span style="font-family:arial,sans-serif;color:rgb(34,34,34)">On Wed, Oct 11, 2017 at 5:24 PM, Tobias Pape </span><span dir="ltr" style="font-family:arial,sans-serif;color:rgb(34,34,34)"><<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>></span><span style="font-family:arial,sans-serif;color:rgb(34,34,34)"> wrote:</span><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all<br>
<br>
I'm a bit stumped…<br>
<br>
What is our canonical way to put a Float onto a (binary) stream?<br>
To be precise a IEEE754 double precision 64-bit float onto a stream, of which I only know that it is a binary one.<br>
<br>
I found ByteArray>>doubleAt:{put:}<wbr>bigEndian:, but they have neither senders nor test _and_ it is not a stream.<br>
<br>
What do y'all use?<br></blockquote><div><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">You write them as two words, like e.g. in DataStream>>writeFloat:.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)"><br></div><div><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif">- Bert -</span> </div></div></div></div>