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 an error if buffer is too short, schema mismatch, or template ID mismatch.
§Panics
Panics if filter byte slices cannot be converted to fixed-size arrays, which should not occur if the SBE data is well-formed.