diplomat.utils.frame_store_api.from_bytes

diplomat.utils.frame_store_api.from_bytes(data: bytes, dtype: dtype) Any[source]

Converts bytes to a single object depending on the passed data type.

Parameters
  • data – The bytes to convert to an object

  • dtype – The numpy data type to convert the bytes to.

Returns

An object of the specified data type passed to this method.