RL_GetFileLength.

This commit is contained in:
jussi
2022-12-10 18:47:45 +02:00
parent e1a85f898e
commit 7e61bffe5f
9 changed files with 34 additions and 5 deletions

9
API.md
View File

@@ -2003,6 +2003,15 @@ Check file extension ( Including point: .png, .wav )
---
> length = RL_GetFileLength( string fileName )
Get file length in bytes ( NOTE: GetFileSize() conflicts with windows.h )
- Failure return false
- Success return int
---
> extension = RL_GetFileExtension( string fileName )
Get pointer to extension for a filename string ( Includes dot: '.png' )