android:change DoricArrayBufferResource to public
This commit is contained in:
parent
ed9475b72a
commit
a19c327743
@ -26,7 +26,7 @@ import pub.doric.async.AsyncResult;
|
||||
* @Author: pengfei.zhou
|
||||
* @CreateDate: 2022/2/28
|
||||
*/
|
||||
class DoricArrayBufferResource extends DoricResource {
|
||||
public class DoricArrayBufferResource extends DoricResource {
|
||||
private JSArrayBuffer value;
|
||||
|
||||
public DoricArrayBufferResource(DoricContext doricContext, String identifier) {
|
||||
@ -37,6 +37,10 @@ class DoricArrayBufferResource extends DoricResource {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public JSArrayBuffer getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public AsyncResult<byte[]> fetchRaw() {
|
||||
final AsyncResult<byte[]> result = new AsyncResult<>();
|
||||
|
Reference in New Issue
Block a user