martinkou/bson — pull request #23 by mnuhn (2013-03-19 21:33:33+00:00)
Title: provide decode_int{32,64}(...)

in addition to decode_int_element{32,64}(...) this commit provides
decode_int{32,64}(...).

i modified decode_int_element{32,64}(...) to then use these new methods, so that no code doubling is introduced.

this suits the fact that there are already functions like decode_cstring() which are very useful for raw bson io.