comp.lang.ada
 help / color / mirror / Atom feed
From: "Pat Rogers" <progers@NOclasswideSPAM.com>
Subject: Re: bitstreams
Date: Mon, 15 Jan 2001 14:43:29 -0600
Date: 2001-01-15T14:43:29-06:00	[thread overview]
Message-ID: <ThJ86.1718$hD5.38173@nnrp1.sbc.net> (raw)
In-Reply-To: 93vik8$u08$1@nnrp1.deja.com

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])






  reply	other threads:[~2001-01-15 20:43 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   ` Pat Rogers [this message]
2001-01-15 21:15     ` bitstreams mark_lundquist
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