summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorjussi2023-11-05 22:43:03 +0200
committerjussi2023-11-05 22:43:03 +0200
commit7b8ef2cd90997382dca80f5122908eb6a8e60467 (patch)
tree42d2ca89a91f0ddb17054fcbb1243fee33399ee1 /API.md
parentd74a505d406faf276a265beaf8925d6e8ff9cec0 (diff)
downloadreilua-enhanced-7b8ef2cd90997382dca80f5122908eb6a8e60467.tar.gz
reilua-enhanced-7b8ef2cd90997382dca80f5122908eb6a8e60467.tar.bz2
reilua-enhanced-7b8ef2cd90997382dca80f5122908eb6a8e60467.zip
ExportBuffer and LoadBufferFromFile.
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
---