According to BSON specification an int32_t is used for the total number of bytes comprising the document.
I can also see that mongo-c-driver is using Libbson and it's using int32_t.
But what is the reason to use signed integer instead of unsigned integer?
the document size will never be below 0. Can someone please explain the reason?