decode_depth

Function decode_depth 

Source
pub fn decode_depth(buf: &[u8]) -> Result<BinanceDepth, SbeDecodeError>
Expand description

Decode a depth response.

Returns the order book depth with bids and asks.

ยงErrors

Returns error if buffer is too short, schema mismatch, or group size exceeded.