public < T > void encodeWithChildContext ( final Encoder < T > encoder , final BsonWriter writer , final T value ) { encoder . encode ( writer , value , DEFAULT_CONTEXT ) ; }
Creates a child context based on this and serializes the value with it to the writer .