MCPcopy Create free account
hub / github.com/OpenDUNE/OpenDUNE / File_Read_LE32

Function File_Read_LE32

src/file.c:750–755  ·  view source on GitHub ↗

* Read a 32bit unsigned from the file (written on disk in Little endian) * * @param index The index given by File_Open() of the file. * @return The integer read. */

Source from the content-addressed store, hash-verified

748 * @return The integer read.
749 */
750uint32 File_Read_LE32(uint8 index)
751{
752 uint8 buffer[4];
753 File_Read(index, buffer, sizeof(buffer));
754 return READ_LE_UINT32(buffer);
755}
756
757/**
758 * Write bytes from a buffer to a file.

Callers 2

WSA_LoadFileFunction · 0.85

Calls 1

File_ReadFunction · 0.85

Tested by

no test coverage detected