Serializes and deserializes the OTLP request/response to and from Uint8Array
Deserialize the response from the backend. The response is expected to be in the form of a Uint8Array and will be deserialized into the expected response type.
the deserialized response
if the deserialization fails
Serializes and deserializes the OTLP request/response to and from Uint8Array