public static Vector getRawLong ( int [ ] data , int offset ) { Vector v = new Vector ( ) ; // TODO: Incorrecto. Repasar ... // _val = struct.unpack('<l', _long)[0] int val = 0 ; v . add ( new Integer ( offset + 32 ) ) ; v . add ( new Integer ( val ) ) ; return v ; }
Read a long value from a group of unsigned bytes