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
|
* @Author: pengfei.zhou
|
||||||
* @CreateDate: 2022/2/28
|
* @CreateDate: 2022/2/28
|
||||||
*/
|
*/
|
||||||
class DoricArrayBufferResource extends DoricResource {
|
public class DoricArrayBufferResource extends DoricResource {
|
||||||
private JSArrayBuffer value;
|
private JSArrayBuffer value;
|
||||||
|
|
||||||
public DoricArrayBufferResource(DoricContext doricContext, String identifier) {
|
public DoricArrayBufferResource(DoricContext doricContext, String identifier) {
|
||||||
@ -37,6 +37,10 @@ class DoricArrayBufferResource extends DoricResource {
|
|||||||
this.value = value;
|
this.value = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public JSArrayBuffer getValue() {
|
||||||
|
return this.value;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public AsyncResult<byte[]> fetchRaw() {
|
public AsyncResult<byte[]> fetchRaw() {
|
||||||
final AsyncResult<byte[]> result = new AsyncResult<>();
|
final AsyncResult<byte[]> result = new AsyncResult<>();
|
||||||
|
Reference in New Issue
Block a user