return (unsigned short int)buffer[offset]|((unsigned short int)buffer[offset+1]<<8);
}
/********************************************************************/
/* Reads 4-byte LSB int from buffer at given offset almost platfom-indepent
* way
*********************************************************************/
return (unsigned short int)buffer[offset]|((unsigned short int)buffer[offset+1]<<8);
}
/********************************************************************/
/* Reads 4-byte LSB int from buffer at given offset almost platfom-indepent
* way
*********************************************************************/