Interface Decoder<T>

    • Method Detail

      • decode

        T decode​(BsonReader reader,
                 DecoderContext decoderContext)
        Decodes a BSON value from the given reader into an instance of the type parameter T.
        Parameters:
        reader - the BSON reader
        decoderContext - the decoder context
        Returns:
        an instance of the type parameter T.