{"version":3,"file":"i-serializer.js","sourceRoot":"","sources":["../../src/i-serializer.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\n/**\n * Serializes and deserializes the OTLP request/response to and from {@link Uint8Array}\n */\nexport interface ISerializer<Request, Response> {\n  serializeRequest(request: Request): Uint8Array | undefined;\n  deserializeResponse(data: Uint8Array): Response;\n}\n"]}