Article View: borland.public.jbuilder.java.api
Article #1265A nibble here...
From: Dave
Date: Tue, 19 Mar 2002 16:26
Date: Tue, 19 Mar 2002 16:26
10 lines
1175 bytes
1175 bytes
I've got a binary file I'm reading in that has command codes in it. One set of commands has a hex code B0 - BF which means "change color to" with the color being the low order nibble of the byte. How can I pull off the nibbles from the bytes? example: byte command code = BC, so set the color to C. thanks, Dave
Technical Details
Message-ID:
<3c9766f6$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!logbridge.uoregon.edu!newshunter!cosy.sbg.ac.at!fu-berlin.de!news.boerde.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,bb1597c09fe1bc82,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-03-19 08:39:43 PST From: "Dave" <dstaelens@nospam.specialmetals.com> Newsgroups: borland.public.jbuilder.java.api Subject: A nibble here... Date: Tue, 19 Mar 2002 11:26:18 -0500 Lines: 12 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 207.140.76.7 Message-ID: <3c9766f6$1_1@dnews> X-Trace: dnews 1016555254 207.140.76.7 (19 Mar 2002 08:27:34 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!logbridge.uoregon.edu!newshunter!cosy.sbg.ac.at!fu-berlin.de!news.boerde.de!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!dnews