MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ host_is_little_endian()

bool MayaFlux::IO::Detail::host_is_little_endian ( )
nodiscardnoexcept

Whether this machine stores multi-byte values least significant byte first.

Definition at line 46 of file TensorCodec.cpp.

47{
48 return std::endian::native == std::endian::little;
49}

Referenced by encode_npy(), npy_dtype(), MayaFlux::IO::NpyReader::read(), MayaFlux::IO::NpzReader::read(), MayaFlux::IO::RawTensorReader::read(), MayaFlux::IO::SafetensorsReader::read(), and MayaFlux::IO::SafetensorsWriter::write().

Here is the caller graph for this function: