Skip to main content

syncular_runtime/core/
binary_sync_pack.rs

1use crate::error::Result;
2use crate::protocol::CombinedResponse;
3
4pub use syncular_protocol::binary_sync_pack::{
5    is_binary_sync_pack_content_type, SYNC_PACK_CONTENT_TYPE, SYNC_PACK_ENCODING_BINARY_V1,
6};
7
8pub fn decode_binary_sync_pack(bytes: &[u8]) -> Result<CombinedResponse> {
9    Ok(syncular_protocol::binary_sync_pack::decode_binary_sync_pack(bytes)?)
10}