ExportBuffer and LoadBufferFromFile.
This commit is contained in:
21
API.md
21
API.md
@@ -4508,7 +4508,7 @@ Get file modification time (Last write time)
|
||||
|
||||
---
|
||||
|
||||
> compData = RL.CompressData( string data )
|
||||
> compData = RL.CompressData( Buffer buffer )
|
||||
|
||||
Compress data (DEFLATE algorithm)
|
||||
|
||||
@@ -4516,11 +4516,11 @@ Compress data (DEFLATE algorithm)
|
||||
|
||||
---
|
||||
|
||||
> data, dataSize = RL.DecompressData( Buffer compData )
|
||||
> decompData = RL.DecompressData( Buffer compData )
|
||||
|
||||
Decompress data (DEFLATE algorithm).
|
||||
|
||||
- Success return string, int
|
||||
- Success Buffer
|
||||
|
||||
---
|
||||
|
||||
@@ -4920,6 +4920,21 @@ Get buffer size
|
||||
|
||||
---
|
||||
|
||||
> RL.ExportBuffer( Buffer buffer, string path )
|
||||
|
||||
Write buffer data to binary file
|
||||
|
||||
---
|
||||
|
||||
> buffer = RL.LoadBufferFromFile( string path, type int )
|
||||
|
||||
Read buffer data from binary file
|
||||
|
||||
- Failure return nil
|
||||
- Success return Buffer
|
||||
|
||||
---
|
||||
|
||||
## Shapes - Drawing
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user