MCPcopy Create free account
hub / github.com/digama0/lean-sys / lean_byte_array_uget

Function lean_byte_array_uget

src/sarray/byte.rs:18–21  ·  view source on GitHub ↗
(a: b_lean_obj_arg, i: usize)

Source from the content-addressed store, hash-verified

16
17#[inline(always)]
18pub unsafe fn lean_byte_array_uget(a: b_lean_obj_arg, i: usize) -> u8 {
19 debug_assert!(i < lean_sarray_size(a));
20 *lean_sarray_cptr(a).add(i)
21}
22
23#[inline]
24pub unsafe fn lean_byte_array_get(a: b_lean_obj_arg, i: b_lean_obj_arg) -> u8 {

Callers 2

lean_byte_array_getFunction · 0.85
lean_byte_array_fgetFunction · 0.85

Calls 1

lean_sarray_cptrFunction · 0.85

Tested by

no test coverage detected