android:change DoricArrayBufferResource to public

This commit is contained in:
pengfei.zhou 2022-03-21 17:58:15 +08:00 committed by osborn
parent ed9475b72a
commit a19c327743

View File

@ -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<>();