[#BloombergLP-bdlbb-BlobUtilAsciiDumper-2constructor-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::xref:BloombergLP/bdlbb/BlobUtilAsciiDumper.adoc[BlobUtilAsciiDumper]::BlobUtilAsciiDumper
:relfileprefix: ../../../
:mrdocs:

Create an ascii dumper for a byte range within the specified blob&period;

== Synopsis

Declared in `&lt;bdlbb&lowbar;blobutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
BlobUtilAsciiDumper(
    xref:BloombergLP/bdlbb/Blob.adoc[Blob] const* blob,
    int offset,
    int length);
----

== Description

Create an ascii dumper for the specified `blob` that ascii dumps the bytes of the `blob` starting with the `min(offset, blob&hyphen;&gt;length())` byte and until `min(offset &plus; length, blob&hyphen;&gt;length())` byte to the output stream when passed to `operator&lt;&lt;`&period; See `operator&lt;&lt;(bsl&colon;&colon;ostream&amp;, const BlobUtilAsciiDumper&amp;)` for details&period; The behavior is undefined unless `0 &lt;&equals; offset &amp;&amp; 0 &lt;&equals; length`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *blob*
| blob to dump
| *offset*
| starting byte offset in `blob`
| *length*
| maximum number of bytes to dump
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
