Skip to main content

attach

Function attach 

Source
pub fn attach(
    envelope: &Object,
    transfer: &Array,
    attachments: &[(String, Vec<u8>)],
) -> bool
Expand description

Adds named binary payloads to envelope and their buffers to transfer. Returns false when the attachment bag could not be written.