Skip to content

Commit

Permalink
SA PR fixes 1
Browse files Browse the repository at this point in the history
  • Loading branch information
rustagir committed Aug 22, 2024
1 parent 0995852 commit 3e2b64e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/data-formats/codecs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ value from the BSON data. This method requires the following parameters:
* - Parameter Type
- Description

* - ``bsonReader``
* - ``reader``
- An instance of a class that implements ``BsonReader``, an interface type
that exposes methods for reading a BSON document. For example, the
``BsonBinaryReader`` implementation reads from a binary stream of data.
Expand Down Expand Up @@ -332,11 +332,11 @@ corresponding ``Codec`` to handle encoding and decoding:

- ``powerStatus``: Describes whether the device light is ``"ON"`` or ``"OFF"``.
For this field, use the :ref:`PowerStatusCodec
<kotlin-sync-powerstatus-codec>` that converts the ``PowerStatus``
<kotlin-sync-powerstatus-codec>` which converts the ``PowerStatus``
enum values to BSON booleans.

- ``colorTemperature``: Describes the color of the device light in
Kelvins as an ``Int`` value. For this field, use the ``IntegerCodec``
kelvins as an ``Int`` value. For this field, use the ``IntegerCodec``
provided in the BSON library.

The following code shows how to can implement a ``Codec`` for the
Expand Down

0 comments on commit 3e2b64e

Please sign in to comment.