Hello

 

On the head I get some weird strings for uncompressed label records due to
the following code:

 

              field_6_value = StringUtil.getFromUnicodeBE(data, 9 + offset,

                                                        field_4_string_len);

 

Now I think that this should be (well this causes it to work):

               field_6_value = StringUtil.getFromUnicodeLE(data, 9 + offset,

                                                        field_4_string_len);

 

Or is that only because I am testing on a LE machine. I thought that the
byte swapping was handled at a much lower level.

 

I know that a lot of this stuff changed during my absence, Should I change
this to LE ??

 

Jason

 

--------------------------------------------------------------------------------------------------------------------
This e-mail (including attachments) is confidential information of Australian 
Submarine Corporation Pty Limited (ASC).  It may also be legally privileged.  
Unauthorised use and disclosure is prohibited.  ASC is not taken to have waived 
confidentiality or privilege if this e-mail was sent to you in error. If you have 
received it in error, please notify the sender promptly.  While ASC takes steps to 
identify and eliminate viruses, it cannot confirm that this e-mail is free from them.  
You should scan this e-mail for viruses before it is used.  The statements in this 
e-mail are those of the sender only, unless specifically stated to be those of ASC by 
someone with authority to do so.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to