The logic for handling BinDatas in sbe::bson::convertFrom() differs from what sbe::value::copyValue() does. I carefully read through how the BinData type is described at bsonspec.org and I looked at how BinData is implemented in the classic execution engine, and it appears that the logic for handling BinDatas in sbe::bson::convertFrom() is wrong and that sbe::value::copyValue()'s implementation is correct.
The goals of this task is to update how sbe::bson::convertFrom() handles BinDatas to match what sbe::value::copyValue() does.