我有一个文件.但现在需要将此文件读入字节数组.在java或c ++中,这很容易做到.但没有找到我如何用PHP阅读.
php streaming
如何在php中从字节转换为浮点数?就像在Java中一样
int i = (byte3 & 0xff) << 24 | (byte2 & 0xff) << 16 | (byte1 & 0xff) << 8 | byte0 & 0xff; Float.intBitsToFloat(i);
php floating-point byte
php ×2
byte ×1
floating-point ×1
streaming ×1