i've been gooling while, found nothing helpful. opaque byte string , c/c++ example of ?
update little more context, rfc5001
2.3. nsid option option-code nsid option 3. option-data nsid option opaque byte string, semantics of deliberately left outside protocol. see section 3.1 discussion.
they mean byte array of unspecified format. "opaque" mean inner structure exists, unknown. program expected treat string whole - store it, transmit it, not try interpret.
the c++ example instance of std::vector<unsigned char>
. c example array of unsigned char (either dynamic aka malloc
'ated or static).
Comments
Post a Comment