Interface ISerializer<Request, Response>
Methods
deserializeResponse
- deserializeResponse(data: Uint8Array): Response
Parameters
Returns Response
serializeRequest
- serializeRequest(request: Request): undefined | Uint8Array
Parameters
Returns undefined | Uint8Array
Serializes and deserializes the OTLP request/response to and from {@link Uint8Array}