Skip to main content

serialise_array

Function serialise_array 

Source
pub fn serialise_array(items: &NeoArray<NeoValue>) -> Vec<u8> 
Expand description

Serialise a NeoArray<NeoValue> as a NeoVM Array StackItem.

The returned bytes match the binary form the C# Neo VM produces for an Array StackItem. Used by System.Runtime.Notify (B2 fix) and System.Contract.Call (B4 follow-up).