Function vls_protocol::msgs::read_raw

source ·
pub fn read_raw<R: Read>(reader: &mut R) -> Result<Vec<u8>>
Expand description

Read a raw message from a length framed BOLT message:

  • u32 packet length (not returned in the result)
  • u16 packet type
  • data