[#bsl-basic_syncbuf-2constructor-00] = xref:bsl.adoc[bsl]::xref:bsl/basic_syncbuf.adoc[basic_syncbuf]::basic_syncbuf :relfileprefix: ../../ :mrdocs: Create a `basic_syncbuf` object. Set the specified `wrapped` as a wrapped buffer. Optionally specify an `allocator` used to supply memory. == Synopsis Declared in `<bslstl_syncbuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit basic_syncbuf( xref:bsl/basic_syncbuf/streambuf_type.adoc[streambuf_type]* wrapped, ALLOCATOR const& allocator = ALLOCATOR()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#