summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
Diffstat (limited to 'API.md')
-rw-r--r--API.md21
1 files changed, 18 insertions, 3 deletions
diff --git a/API.md b/API.md
index a057dde..c87b58a 100644
--- a/API.md
+++ b/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
---