create a helper method for reading type byte
create a helper method for reading type byte

This simplifies the code slightly and would have avoided an earlier bug

mongodb/bson-ruby,mongodb/bson-ruby,mongodb/bson-ruby,mongodb/bson-ruby