revm_bytecode::utils

Function read_i16

Source
pub unsafe fn read_i16(ptr: *const u8) -> i16
Expand description

Read big-endian i16 from u8 pointer

ยงSafety

Pointer needs to point to at least 2 byte.