>
> This will reverse the bytes, you need head because reverse leaves series
> pointer at the tail.
> >> head reverse a
> == #{452301}
That explians the empty string, you guys are really making my code pretty...
--e
>
> And this puts it back.
>
> >> head reverse a
> == #{012345}
>
> To "join" two binary values.
>
> >> append a b
> == #{0123456789}
> >>
>
> Cheers
> -Larry
>
> You wrote:
>
> > I'm finding that REBOL's a pretty nice tool to get close to the
> protocol.
> > Out of curiosity, how do you reverse byte order, for things like the
> length
> > header? And I havn't seen an elegant way to concatenate binary! type
> data.
> > Join would be nice.
> >
> > >> probe join #{012345} [ #{0123} ]
> > #{012345237B303132337D}
> >
> > >> ; This makes me cringe
> > >> probe to-binary join to-string #{012345} [ to-string #{6798} ]
> > #{0123456798}
> > == #{0123456798}
> >
>
- [REBOL] Problem with try [ open/direct/binary tcp://... ]... petr . krenzelok
- [REBOL] Problem with try [ open/direct/binary tcp://... eventi
- [REBOL] Problem with try [ open/direct/binary tc... Al . Bri
- [REBOL] Problem with try [ open/direct/binar... eventi
- [REBOL] Problem with try [ open/direct/b... Al . Bri
- [REBOL] Re: Problem with try [ open/dire... rebol
- [REBOL] Problem with try [ open/dir... eventi
- [REBOL] Problem with try [ open... Al . Bri
- [REBOL] Problem with try [ open... joel . neely
- [REBOL] Problem with try [ open... larry
- [REBOL] Problem with try [ open... eventi
- [REBOL] Problem with try [ open... g . santilli
- [REBOL] Problem with try [ open... joel . neely
- [REBOL] Problem with try [ open... brett
- [REBOL] Problem with try [ open... joel . neely
- [REBOL] Problem with try [ open... g . santilli
- [REBOL] Problem with try [ open... joel . neely
- [REBOL] Re: Problem with try [ ... rebol
- [REBOL] Problem with try [ open... carl
- [REBOL] Problem with try [ open... larry
- [REBOL] Problem with try [ open... g . santilli
