Create a new native Bytes implementation, use it instead of ByteArray for better ByteArray and Bytes support
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
|
||||
#include <graphics/ImageBuffer.h>
|
||||
#include <utils/ByteArray.h>
|
||||
#include <utils/Bytes.h>
|
||||
#include <utils/Resource.h>
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace lime {
|
||||
public:
|
||||
|
||||
static bool Decode (Resource *resource, ImageBuffer *imageBuffer, bool decodeData = true);
|
||||
static bool Encode (ImageBuffer *imageBuffer, ByteArray *bytes, int quality);
|
||||
static bool Encode (ImageBuffer *imageBuffer, Bytes *bytes, int quality);
|
||||
|
||||
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
|
||||
#include <graphics/ImageBuffer.h>
|
||||
#include <utils/ByteArray.h>
|
||||
#include <utils/Bytes.h>
|
||||
#include <utils/Resource.h>
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace lime {
|
||||
public:
|
||||
|
||||
static bool Decode (Resource *resource, ImageBuffer *imageBuffer, bool decodeData = true);
|
||||
static bool Encode (ImageBuffer *imageBuffer, ByteArray *bytes);
|
||||
static bool Encode (ImageBuffer *imageBuffer, Bytes *bytes);
|
||||
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user