code: public static long readLongBigEndian(byte[] buffer, int offset) {
  		long value;
  		value = ((long)(buffer[offset] & 0xFF)) << 56;
  		value |= ((long)(buffer[offset + 1] & 0xFF)) << 48;
  		value |= ((long)(buffer[offset + 2] & 0xFF)) << 40;
  		value |= ((long)(buffer[offset + 3] & 0xFF)) << 32;
  		value |= ((long)(buffer[offset + 4] & 0xFF)) << 24;
  		value |= (buffer[offset + 5] & 0xFF) << 16;
  		value |= (buffer[offset + 6] & 0xFF) << 8;
  		value |= (buffer[offset + 7] & 0xFF);
  		return value;
  	}
docs: big-endian or motorola format.