Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

read_n_bytes

Reads n bytes from a byte array starting from a given index.

Requirements:

  • start + n must be less than or equal to the length of the byte array.

Fully qualified path: openzeppelin_utils::bytearray::read_n_bytes

pub fn read_n_bytes(data: @ByteArray, start: u32, n: u32) -> ByteArray