util_accid

Function util_accid 

Source
pub unsafe extern "C" fn util_accid(
    write_ptr: u32,
    write_len: u32,
    read_ptr: u32,
    read_len: u32,
) -> i64
Expand description

Read an r-address from the memory pointed to by read_ptr of length read_len and decode it to a 20 byte account id and write to write_ptr @param read_ptr The memory address of the r-address @param read_len The byte length of the r-address @param write_ptr The memory address of a suitable buffer to write the decoded account id into. @param write_len The size of the write buffer. @return On success 20 will be returned indicating the bytes written. On failure a negative integer is returned indicating what went wrong.