Commit f0516423 authored by Chunchi Che's avatar Chunchi Che

update buffer.rs

parent f63a2a34
Pipeline #20796 passed with stages
in 14 minutes and 34 seconds
...@@ -71,6 +71,14 @@ impl BufferReader { ...@@ -71,6 +71,14 @@ impl BufferReader {
ret ret
} }
pub fn offset(&self) -> usize {
self.offset
}
pub fn setOffset(&mut self, offset: usize) {
self.offset = offset;
}
} }
#[wasm_bindgen] #[wasm_bindgen]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment