diff --git a/doric-android/doric/src/main/java/pub/doric/resource/DoricArrayBufferResource.java b/doric-android/doric/src/main/java/pub/doric/resource/DoricArrayBufferResource.java index f8401222..91dda151 100644 --- a/doric-android/doric/src/main/java/pub/doric/resource/DoricArrayBufferResource.java +++ b/doric-android/doric/src/main/java/pub/doric/resource/DoricArrayBufferResource.java @@ -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 fetchRaw() { final AsyncResult result = new AsyncResult<>();