pub fn decode(bytes: &[u8]) -> Result<Vec<DomOp>, String>
Decode a patch stream, or say exactly what is wrong with it.