mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 13:18:20 +00:00
Put back uint8view as hidden public instead of private
This commit is contained in:
committed by
Manos Pitsidianakis
parent
3e9de243a5
commit
68e98e216d
4
lib/api/src/js/externals/memory.rs
vendored
4
lib/api/src/js/externals/memory.rs
vendored
@@ -237,7 +237,9 @@ impl Memory {
|
||||
Ok(Pages(new_pages))
|
||||
}
|
||||
|
||||
pub(crate) fn uint8view(&self) -> js_sys::Uint8Array {
|
||||
/// Used by tests
|
||||
#[doc(hidden)]
|
||||
pub fn uint8view(&self) -> js_sys::Uint8Array {
|
||||
js_sys::Uint8Array::new(&self.vm_memory.memory.buffer())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user