1BSON_STRING_TRUNCATE(3)             Libbson            BSON_STRING_TRUNCATE(3)
2
3
4

NAME

6       bson_string_truncate - bson_string_truncate()
7

SYNOPSIS

9          void
10          bson_string_truncate (bson_string_t *string, uint32_t len);
11

PARAMETERS

13       · string: A bson_string_t.
14
15       · len: The new length of the string, excluding the trailing \0.
16

DESCRIPTION

18       Truncates  the  string  so that it is len bytes in length. This must be
19       smaller or equal to the current length of the string.
20
21       A \0 byte will be placed where the end of the string occurs.
22

AUTHOR

24       MongoDB, Inc
25
27       2017-present, MongoDB, Inc
28
29
30
31
321.15.2                           Nov 06, 2019          BSON_STRING_TRUNCATE(3)
Impressum