Mensaje
De
02/10/2006 16:41:24
Einar Kvandahl
Alliance Laundry Systems
Ripon
,
Wisconsin
,
United States
a
Todos
General information
Foro:
ASP.NET
Category:
Título:
Flip the most significant bit in a byte
Environment versions
Environment:
C# 2.0
Miscellaneous
ID de la conversación:
01158678
ID del mensaje:
01158678
Views:
66
Given a byte I need to flip the most significant bit on to create another byte.
Something like this:
byte newByte = FlipBit7(oldByte);
What is the most elegant way of doing this?
Thanks,
Einar
Semper ubi sub ubi.
Next
Responder
Mapa
Ver el mapa de esta conversación
View the map of this thread starting from this message only
Ver
Ver todos los mensajes de esta conversación
Ver todos los mensajes de esta conversaicón a partir del actual