Opened 16 years ago
Closed 16 years ago
#1915 closed defect (fixed)
The pack character returned by the helper fct Geo::GDAL::PackCharacter for UInt_16 and 32 assumes big-endianness
Reported by: | Ari Jolma | Owned by: | Ari Jolma |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | PerlBindings | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
The logic in Geo::GDAL::PackCharacter needs to be cleared.
n and N make pack and unpack use big-endianness, while v and V are for little-endianness
Which one is correct to use in which case? Can we return a character that depends on the native endianness of the machine?
Note:
See TracTickets
for help on using tickets.
this is the same as #1982 and it was fixed in r12694