Skip to main content

encode_list

Function encode_list 

Source
pub fn encode_list(slot_id: u16, item_slot_id: u16, body_ops: &[u8]) -> Vec<u8> 
Expand description

Encode a LIST opcode: opcode(1) + slot_id(2) + item_slot_id(2) + body_len(4) + body