Reference

bson_string_truncate(3) on Linux

The text cff956ee7b65, as Debian 9 (Stretch) shipped it.

Truncates the string so that it is len bytes in length. This must be smaller or equal to the current length of the string.

bson_string_truncate(3) on Linux now