feat: Image add setImagePixels API,iOS receive ArrayBuffer directly
This commit is contained in:
@@ -6,9 +6,5 @@
|
||||
#import <JavaScriptCore/JavaScriptCore.h>
|
||||
|
||||
@interface JSValue (Doric)
|
||||
- (BOOL)isArrayBuffer;
|
||||
|
||||
- (NSData *)toArrayBuffer;
|
||||
|
||||
- (id)toObjectWithArrayBuffer;
|
||||
@end
|
||||
Reference in New Issue
Block a user