comp.lang.ada
 help / color / mirror / Atom feed
From: mark_lundquist@my-deja.com
Subject: Re: bitstreams
Date: Mon, 15 Jan 2001 21:15:02 GMT
Date: 2001-01-15T21:15:02+00:00	[thread overview]
Message-ID: <93vp8e$48s$1@nnrp1.deja.com> (raw)
In-Reply-To: ThJ86.1718$hD5.38173@nnrp1.sbc.net



Bah, of course, my bad...
I guess I blew a brain-fuse there while I was writing that...

Thx for the correction,
-- mark

In article <ThJ86.1718$hD5.38173@nnrp1.sbc.net>,
  "Pat Rogers" <progers@NOclasswideSPAM.com> wrote:
> Only for the modular (i.e., unsigned) types, not the signed types.
See
> B.2{9}
>
> <mark_lundquist@my-deja.com> wrote in message
> news:93vik8$u08$1@nnrp1.deja.com...
> > In article <93se2v$nen$1@eol.dd.chalmers.se>,
> >   "Daniel Nilsson" <danielnilsson@REMOVE_THIShem3.passagen.se>
wrote:
> > > Hi.
> > > In my mp3 decoder I will have to search for bit-patterns in a
buffer of
> > > bytes, how is this best done, and How can I "shift" in a sequence
of
> bits
> > > into a byte, or word efficiently? (I want ex. take 5 bits from a
buffer
> and
> > > put them rightadjusted in a unsigned_32)
> >
> > Note that shift and rotate functions are primitive operations of the
> > Signed_<n> and Unsigned_<n> families of types (RM [B.2])
>
>


Sent via Deja.com
http://www.deja.com/



  reply	other threads:[~2001-01-15 21:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-14 14:47 bitstreams Daniel Nilsson
2001-01-14 15:10 ` bitstreams Larry Kilgallen
2001-01-14 16:15 ` bitstreams tmoran
2001-01-14 19:46 ` bitstreams srini
2001-01-15 19:56   ` bitstreams mark_lundquist
2001-01-15 21:54     ` bitstreams Tucker Taft
2001-01-16  0:41       ` bitstreams Robert Dewar
2001-01-16  0:39     ` bitstreams Robert Dewar
2001-01-16 23:26       ` bitstreams Rajagopalan Srinivasan
2001-01-15 19:21 ` bitstreams mark_lundquist
2001-01-15 20:43   ` bitstreams Pat Rogers
2001-01-15 21:15     ` mark_lundquist [this message]
2001-01-16  0:59   ` bitstreams Robert Dewar
2001-01-16 17:36     ` bitstreams mark_lundquist
2001-01-16 20:08       ` bitstreams Pat Rogers
2001-01-17  2:15         ` bitstreams Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox