File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ value from the BSON data. This method requires the following parameters:
94
94
* - Parameter Type
95
95
- Description
96
96
97
- * - ``bsonReader ``
97
+ * - ``reader ``
98
98
- An instance of a class that implements ``BsonReader``, an interface type
99
99
that exposes methods for reading a BSON document. For example, the
100
100
``BsonBinaryReader`` implementation reads from a binary stream of data.
@@ -332,11 +332,11 @@ corresponding ``Codec`` to handle encoding and decoding:
332
332
333
333
- ``powerStatus``: Describes whether the device light is ``"ON"`` or ``"OFF"``.
334
334
For this field, use the :ref:`PowerStatusCodec
335
- <kotlin-sync-powerstatus-codec>` that converts the ``PowerStatus``
335
+ <kotlin-sync-powerstatus-codec>` which converts the ``PowerStatus``
336
336
enum values to BSON booleans.
337
337
338
338
- ``colorTemperature``: Describes the color of the device light in
339
- Kelvins as an ``Int`` value. For this field, use the ``IntegerCodec``
339
+ kelvins as an ``Int`` value. For this field, use the ``IntegerCodec``
340
340
provided in the BSON library.
341
341
342
342
The following code shows how to can implement a ``Codec`` for the
You can’t perform that action at this time.
0 commit comments