cave-story-solaris/src/File.h
Clownacy 98f78716f7 Update portable branch with licence boilerplates
Also added Cameron Cawley to the licence
2020-10-23 19:18:13 +01:00

19 lines
599 B
C

// Released under the MIT licence.
// See LICENCE.txt for details.
#pragma once
#include <stddef.h>
#include <stdio.h>
unsigned char* LoadFileToMemory(const char *file_path, size_t *file_size);
unsigned short File_ReadBE16(FILE *stream);
unsigned long File_ReadBE32(FILE *stream);
unsigned short File_ReadLE16(FILE *stream);
unsigned long File_ReadLE32(FILE *stream);
void File_WriteBE16(unsigned short value, FILE *stream);
void File_WriteBE32(unsigned long value, FILE *stream);
void File_WriteLE16(unsigned short value, FILE *stream);
void File_WriteLE32(unsigned long value, FILE *stream);