Skip to content

Commit

Permalink
Update experimental/packages/otlp-transformer/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jackson Weber <[email protected]>
  • Loading branch information
chancancode and JacksonWeber authored Dec 13, 2024
1 parent 380d557 commit 0a88ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion experimental/packages/otlp-transformer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()`.

Expand Down

0 comments on commit 0a88ed1

Please sign in to comment.