edit readFloatFromArray & readLongFromArray