mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Added love.math.encode(format, data | string [, linelength]) and love.math.decode(format, data | string). Current formats are "base64" and "hex". The optional line length only applies to base64 and specifies the maximum number of characters per line in the encoded string.
Removed the variant of love.filesystem.newFileData which decoded a base64-encoded string since it's redundant. --HG-- branch : minor
This commit is contained in:
@@ -64,9 +64,6 @@ public:
|
||||
|
||||
File *newFile(const char *filename) const;
|
||||
|
||||
FileData *newFileData(void *data, unsigned int size, const char *filename) const;
|
||||
FileData *newFileData(const char *b64, const char *filename) const;
|
||||
|
||||
const char *getWorkingDirectory();
|
||||
std::string getUserDirectory();
|
||||
std::string getAppdataDirectory();
|
||||
|
||||
Reference in New Issue
Block a user