Click here to Skip to main content
15,912,977 members
Home / Discussions / C#
   

C#

 
AnswerRe: code colourizing Pin
Scott Dorman26-Aug-07 15:50
professionalScott Dorman26-Aug-07 15:50 
AnswerRe: code colourizing [modified] Pin
Michael Sync26-Aug-07 16:07
Michael Sync26-Aug-07 16:07 
GeneralRe: code colourizing Pin
Zhendalf27-Aug-07 11:17
Zhendalf27-Aug-07 11:17 
Questionhelp with a small problem Pin
swatgodjr26-Aug-07 11:18
swatgodjr26-Aug-07 11:18 
AnswerRe: help with a small problem Pin
Christian Graus26-Aug-07 11:25
protectorChristian Graus26-Aug-07 11:25 
AnswerRe: help with a small problem Pin
Vikram A Punathambekar26-Aug-07 18:40
Vikram A Punathambekar26-Aug-07 18:40 
QuestionBig Endian float conversion Pin
piote26-Aug-07 10:49
piote26-Aug-07 10:49 
AnswerRe: Big Endian float conversion Pin
Luc Pattyn26-Aug-07 13:51
sitebuilderLuc Pattyn26-Aug-07 13:51 
Hi,

AFAIK there is no direct .NET support for big-endian data.
You need to swap all bytes in each larger data item, whether integer or float.

The BitConverter class will help you interpreting bytes once you have put them
in the right order. See ToSingle() method.

You could construct your own BinaryReader derivative that hides the endianness
conversion, (only if BitConverter.IsLittleEndian returns true).

Smile | :)



Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


GeneralRe: Big Endian float conversion Pin
piote28-Aug-07 1:20
piote28-Aug-07 1:20 
QuestionDatabase Login Pin
Bonsta26-Aug-07 7:48
Bonsta26-Aug-07 7:48 
AnswerRe: Database Login Pin
Nissim Salomon26-Aug-07 10:08
Nissim Salomon26-Aug-07 10:08 
QuestionHow do I re-create feature/control like Data Tips in Visual Studio .NET 2005 Pin
abbyjeet26-Aug-07 7:13
abbyjeet26-Aug-07 7:13 
QuestionGenetic Algorithm Pin
starist26-Aug-07 5:05
starist26-Aug-07 5:05 
AnswerRe: Genetic Algorithm Pin
Curtis Schlak.26-Aug-07 9:42
Curtis Schlak.26-Aug-07 9:42 
QuestionSystem.IO.Path Understanding [modified] Pin
adnanrafiq26-Aug-07 4:30
adnanrafiq26-Aug-07 4:30 
AnswerRe: System.IO.Path Understanding Pin
Mark Churchill26-Aug-07 4:48
Mark Churchill26-Aug-07 4:48 
GeneralRe: System.IO.Path Understanding Pin
adnanrafiq26-Aug-07 5:22
adnanrafiq26-Aug-07 5:22 
GeneralRe: System.IO.Path Understanding Pin
Mark Churchill26-Aug-07 19:41
Mark Churchill26-Aug-07 19:41 
GeneralRe: System.IO.Path Understanding Pin
adnanrafiq27-Aug-07 19:47
adnanrafiq27-Aug-07 19:47 
Questiondebugging a windows service... how? Pin
swjam26-Aug-07 3:14
swjam26-Aug-07 3:14 
AnswerRe: debugging a windows service... how? Pin
PIEBALDconsult26-Aug-07 4:21
mvePIEBALDconsult26-Aug-07 4:21 
GeneralRe: debugging a windows service... how? Pin
swjam26-Aug-07 4:47
swjam26-Aug-07 4:47 
GeneralRe: debugging a windows service... how? Pin
PIEBALDconsult26-Aug-07 5:20
mvePIEBALDconsult26-Aug-07 5:20 
GeneralRe: debugging a windows service... how? Pin
Mark Churchill26-Aug-07 17:56
Mark Churchill26-Aug-07 17:56 
Questionmy form get lost focus in MultiThread mod. Pin
hdv21226-Aug-07 2:35
hdv21226-Aug-07 2:35 

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.