pub fn from_buffer<H: HashTable>(
hash_table: H,
data: &[u8],
options: &IoOptions,
) -> Result<JMapInfo<H>>Expand description
Read a JMapInfo from a byte buffer
§Arguments
hash_table- The hash table to use for field name lookupsdata- The byte buffer containing the BCSV dataoptions- Options for endianness and string encoding
§TYpe
H- The type of hash table to use, which must implement theHashTabletrait
§Returns
A JMapInfo instance populated with the data from the buffer, or an error if parsing fails