Skip to main content

decode_agg_trades

Function decode_agg_trades 

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

Decodes an aggregate trades response.

ยงErrors

Returns an error if:

  • The buffer is too short.
  • The schema ID or template ID does not match.
  • The group count exceeds the limit.
  • A group block is shorter than its fixed entry width.