From 0a88ed19f2a226acf74479c0f7dc5389f048c8a2 Mon Sep 17 00:00:00 2001 From: Godfrey Chan Date: Thu, 12 Dec 2024 17:14:09 -0800 Subject: [PATCH] Update experimental/packages/otlp-transformer/README.md Co-authored-by: Jackson Weber <47067795+JacksonWeber@users.noreply.github.com> --- experimental/packages/otlp-transformer/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experimental/packages/otlp-transformer/README.md b/experimental/packages/otlp-transformer/README.md index a6d3191764..476fc20ea9 100644 --- a/experimental/packages/otlp-transformer/README.md +++ b/experimental/packages/otlp-transformer/README.md @@ -100,7 +100,7 @@ const deserializedLogsResponse = JsonLogsSerializer.deserializeResponse( ); ``` -Unlike the `createExport*Request` functions (and similar to the binary protobuf serializers), these serializer methods returns the _serialized_ bytes directly, skipping the need to further serialize them with `JSON.stringify(...)`. +Unlike the `createExport*Request` functions (and similar to the binary protobuf serializers), these serializer methods return the _serialized_ bytes directly, skipping the need to further serialize them with `JSON.stringify(...)`. Among other things, the `Uint8Array` can be used directly as the `body` of a `fetch()` request. Likewise, a `Uint8Array` of the response body can be obtained from `await response.bytes()`.