pub fn decode_exchange_info(
buf: &[u8],
) -> Result<BinanceExchangeInfoSbe, SbeDecodeError>Expand description
Decode exchange info response.
ExchangeInfo response contains rate limits, exchange filters, symbols, and SOR info. We only decode the symbols array which contains instrument definitions.
§Errors
Returns error if buffer is too short, schema mismatch, or template ID mismatch.
§Panics
This function will panic if filter byte slices cannot be converted to fixed-size arrays, which should not occur if the SBE data is well-formed.