1BSON::Raw(3) User Contributed Perl Documentation BSON::Raw(3)
2
3
4
6 BSON::Raw - BSON type wrapper for pre-encoded BSON documents
7
9 version v1.12.2
10
12 use BSON::Types ':all';
13
14 my $ordered = bson_raw( $bson_bytes );
15
17 This module provides a BSON document wrapper for already-encoded BSON
18 bytes.
19
20 Generally, end-users should have no need for this; it is provided for
21 optimization purposes for MongoDB or other client libraries.
22
24 bson
25 A string containing a BSON-encoded document. Default is "undef".
26
27 metadata
28 A hash reference containing arbitrary metadata about the BSON document.
29 Default is "undef".
30
32 · David Golden <david@mongodb.com>
33
34 · Stefan G. <minimalist@lavabit.com>
35
37 This software is Copyright (c) 2020 by Stefan G. and MongoDB, Inc.
38
39 This is free software, licensed under:
40
41 The Apache License, Version 2.0, January 2004
42
43
44
45perl v5.32.0 2020-08-18 BSON::Raw(3)