[#ByteType]
= ByteType
:mrdocs:

Constrains a type to a single&hyphen;byte type usable as a raw buffer element&period;

== Synopsis

Declared in `&lt;crypto&sol;common&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename B&gt;
concept ByteType = std&colon;&colon;same&lowbar;as&lt;B, unsigned char&gt; &verbar;&verbar; std&colon;&colon;same&lowbar;as&lt;B, std&colon;&colon;byte&gt;;
----

== Template Parameters

[cols="1,4"]
|===
| Name| Description
| *B*
| The candidate byte type (`unsigned char` or `std&colon;&colon;byte`)&period;
|===


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