[vtkusers] byte ordering in a binary legacy .VTK file

이정규 glazex2 at naver.com
Fri Mar 19 16:19:58 EDT 2010


Hi all,

I'm trying to make a function that returns the correct byteordering of a
given legacy binary .vtk file. Before I was reading through POINTS and see
if any number falls out of bound for given precision. It worked but I think
this is not consistent enough and hack. I've looked at htonl() and so on but
it seems like these functions only work integers. Any suggestions?

Thanks,
--
Jeonggyu Lee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100319/d2a20a7b/attachment.htm>


More information about the vtkusers mailing list