Click here to Skip to main content
15,900,110 members
Home / Discussions / C#
   

C#

 
GeneralRe: Adding Icons Pin
Marc Clifton17-May-05 7:44
mvaMarc Clifton17-May-05 7:44 
GeneralRe: Adding Icons Pin
Dave Kreskowiak17-May-05 9:57
mveDave Kreskowiak17-May-05 9:57 
Questionwhere do i wrong with registry key? Pin
Sasuko17-May-05 6:18
Sasuko17-May-05 6:18 
AnswerRe: where do i wrong with registry key? Pin
leppie17-May-05 6:24
leppie17-May-05 6:24 
GeneralRe: where do i wrong with registry key? Pin
Sasuko17-May-05 6:29
Sasuko17-May-05 6:29 
GeneralRe: where do i wrong with registry key? Pin
Sasuko17-May-05 6:36
Sasuko17-May-05 6:36 
AnswerRe: where do i wrong with registry key? Pin
OMalleyW17-May-05 6:28
OMalleyW17-May-05 6:28 
GeneralConvert byte array to bits Pin
Asad Hussain17-May-05 6:04
Asad Hussain17-May-05 6:04 
I have an array of bytes which i need to get bits from in 5-bit chunks.

e.g. lets say my byte array has 4 values
0 - 10101010
1 - 10101010
2 - 10101010
3 - 10101010

i would like an array of strings (or whatever, could be bytes with leading 0) that returns to me the values
0 - (000)10101 (first 5 bits of 0)
1 - (000)01010 (last 3 bits of 0 and first 2 bits of 1)
2 - (000)10101 (mid 5 bits of 1)
.
.
so on

How can I do this in C#?

Thanks
GeneralRe: Convert byte array to bits Pin
Marc Clifton17-May-05 7:42
mvaMarc Clifton17-May-05 7:42 
GeneralRe: Convert byte array to bits Pin
Asad Hussain17-May-05 8:46
Asad Hussain17-May-05 8:46 
GeneralRe: Convert byte array to bits Pin
Marc Clifton18-May-05 2:09
mvaMarc Clifton18-May-05 2:09 
GeneralRe: Convert byte array to bits Pin
Robert Rohde17-May-05 11:26
Robert Rohde17-May-05 11:26 
Generalfeedback Pin
niansah17-May-05 4:54
niansah17-May-05 4:54 
GeneralRe: feedback Pin
Robert Rohde17-May-05 4:59
Robert Rohde17-May-05 4:59 
GeneralRe: feedback Pin
niansah17-May-05 5:03
niansah17-May-05 5:03 
GeneralRe: feedback Pin
Colin Angus Mackay17-May-05 5:48
Colin Angus Mackay17-May-05 5:48 
GeneralReading all particular nodes with loop Pin
ksanju100017-May-05 3:23
ksanju100017-May-05 3:23 
GeneralRe: Reading all particular nodes with loop Pin
Marc Clifton17-May-05 3:34
mvaMarc Clifton17-May-05 3:34 
GeneralRe: Reading all particular nodes with loop Pin
mav.northwind17-May-05 3:52
mav.northwind17-May-05 3:52 
GeneralRe: Reading all particular nodes with loop Pin
niansah17-May-05 4:23
niansah17-May-05 4:23 
GeneralC#, LDAP, and Active Directory Pin
slvrscremr17-May-05 3:13
slvrscremr17-May-05 3:13 
GeneralRe: C#, LDAP, and Active Directory Pin
Scott Serl17-May-05 21:23
Scott Serl17-May-05 21:23 
GeneralNeed to Read XML File Pin
Jethro6317-May-05 2:37
Jethro6317-May-05 2:37 
GeneralRe: Need to Read XML File Pin
Robert Rohde17-May-05 3:17
Robert Rohde17-May-05 3:17 
GeneralRe: Need to Read XML File Pin
Jethro6317-May-05 3:21
Jethro6317-May-05 3:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.