Skip to main content

encode_snapshot_begin

Function encode_snapshot_begin 

Source
pub fn encode_snapshot_begin() -> Vec<u8> ⓘ
Expand description

Encode the snapshot-begin marker. Allocates the exact 11 bytes.

assert_eq!(kevy_replicate::wire::encode_snapshot_begin(), b"+SNAPSHOT\r\n");