reads pointer from current buffer position , and then increments position . note : if structured reading is enabled , additional padding bytes may be skipped automatically . concode_field_sep int structIndex concode_elem_sep MemoryLayout memLayout concode_elem_sep DataType[] structure concode_elem_sep ByteBuffer bbuf concode_field_sep int getInt32 concode_elem_sep MemoryBuffer putInt16 concode_elem_sep MemoryBuffer putAddr concode_elem_sep byte getByte concode_elem_sep short getShort concode_elem_sep MemoryBuffer putInt concode_elem_sep short getInt16 concode_elem_sep MemoryBuffer putLong concode_elem_sep byte[] getBytes concode_elem_sep long getInt64 concode_elem_sep long getLong concode_elem_sep int getInt concode_elem_sep MemoryBuffer putByte concode_elem_sep DataType getType concode_elem_sep MemoryBuffer putInt32 concode_elem_sep void skipPaddingBytesFor concode_elem_sep MemoryBuffer putInt64 concode_elem_sep MemoryBuffer putShort concode_elem_sep MemoryBuffer wrap concode_elem_sep MemoryBuffer wrap concode_elem_sep MemoryBuffer putInt8 concode_elem_sep byte getInt8
long function ( ) { long loc0 ; switch ( memLayout . addrSize ) { case 2 : loc0 = bbuf . getShort ( ) ; break ; case 4 : loc0 = bbuf . getInt ( ) ; break ; case 8 : loc0 = bbuf . getLong ( ) ; break ; default : loc0 = bbuf . getInt ( ) ; break ; } skipPaddingBytesFor ( DataType . POINTER ) ; return loc0 ; }