(data, position, dummy0, dummy1, dummy2)
return ObjectId(data[position:end]), end
Decode a BSON ObjectId to bson.objectid.ObjectId.
Decode a BSON ObjectId to bson.objectid.ObjectId.
Decode a BSON ObjectId to bson . objectid . ObjectId .
def _get_oid(data, position, dummy0, dummy1, dummy2):
    """Decode a BSON ObjectId to bson.objectid.ObjectId."""
    end = position + 12
    return ObjectId(data[position:end]), end
def _get_oid ( data , position , dummy0 , dummy1 , dummy2 ) : end = position + 12 return ObjectId ( data [ position : end ] ) , end