[#XOnlyPubKey-operator_subs] = xref:XOnlyPubKey.adoc[XOnlyPubKey]::operator[] :relfileprefix: ../ :mrdocs: Access the byte at the given position. == Synopsis Declared in `<pubkey.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- unsigned char const& operator[](int pos) const; ---- == Return Value A reference to the byte at pos. == Parameters [cols="1,4"] |=== | Name| Description | *pos* | Index of the byte to access. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#