def _get_oid(data, position, dummy0, dummy1, dummy2):
 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 )
decode a bson objectid to bson .