diff options
| author | jussi | 2023-11-05 22:43:03 +0200 |
|---|---|---|
| committer | jussi | 2023-11-05 22:43:03 +0200 |
| commit | 7b8ef2cd90997382dca80f5122908eb6a8e60467 (patch) | |
| tree | 42d2ca89a91f0ddb17054fcbb1243fee33399ee1 /API.md | |
| parent | d74a505d406faf276a265beaf8925d6e8ff9cec0 (diff) | |
| download | reilua-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.md | 21 |
1 files changed, 18 insertions, 3 deletions
@@ -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 --- |
