Re: [Help-smalltalk] Creating binary data

2010-06-02 Thread Paolo Bonzini
On 06/02/2010 10:33 AM, Holger Hans Peter Freyther wrote: In my case I would like to read and create structure with bitfields like the one below. http://bb.osmocom.org/trac/browser/src/shared/libosmocore/include/osmocore/protocol/gsm_04_08.h Ouch, bitfields are not supported. :-( The list is

Re: [Help-smalltalk] Creating binary data

2010-06-02 Thread Holger Hans Peter Freyther
On 06/02/2010 02:59 PM, Paolo Bonzini wrote: > On Wed, Jun 2, 2010 at 07:17, Holger Hans Peter Freyther > wrote: >> Hi All, >> >> for the stuff I am planing to use GNU Smalltalk for I will need to >> create binary structures. This means I need to write numbers and similar >> as uint8,16,32,64, con

Re: [Help-smalltalk] Creating binary data

2010-06-02 Thread Paolo Bonzini
On Wed, Jun 2, 2010 at 07:17, Holger Hans Peter Freyther wrote: > Hi All, > > for the stuff I am planing to use GNU Smalltalk for I will need to > create binary structures. This means I need to write numbers and similar > as uint8,16,32,64, control the endian of these numbers and such. In > Pharo

[Help-smalltalk] Creating binary data

2010-06-01 Thread Holger Hans Peter Freyther
Hi All, for the stuff I am planing to use GNU Smalltalk for I will need to create binary structures. This means I need to write numbers and similar as uint8,16,32,64, control the endian of these numbers and such. In Pharo I have found the DataStream class is there something like this in GNU Smallt