The AsnOctetString structure contains octet quantities, usually bytes, as defined in RFC 1155.
typedef struct { BYTE * stream; UINT length; BOOL dynamic; } AsnOctetString;
Use the AsnOctetString structure to transfer string values. For example, use it to transfer the string that represents a computer name MIB object value.
You must check the flag specified in the dynamic member before you release the data stream of an octet string. Call the SnmpUtilMemFree function only if the dynamic member is set to TRUE.