iOS: implement Image Pixel
This commit is contained in:
12
doric-iOS/Pod/Classes/Engine/JSValue+Doric.h
Normal file
12
doric-iOS/Pod/Classes/Engine/JSValue+Doric.h
Normal file
@@ -0,0 +1,12 @@
|
||||
//
|
||||
// Created by pengfei.zhou on 2021/11/19.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <JavaScriptCore/JavaScriptCore.h>
|
||||
|
||||
@interface JSValue (Doric)
|
||||
- (BOOL)isArrayBuffer;
|
||||
|
||||
- (NSData *)toArrayBuffer;
|
||||
@end
|
||||
Reference in New Issue
Block a user