Overview
Group
Quick Info

AsnOctetString

The AsnOctetString structure contains octet quantities, usually bytes, as defined in RFC 1155.

typedef struct {

BYTE * stream;

UINT length;

BOOL dynamic;

} AsnOctetString;

Members

stream

Pointer to the octet stream.

length

The number of octets in the data stream.

dynamic

Flag that specifies if the data stream has been dynamically allocated with the SnmpUtilMemAlloc function.

Remarks

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.

See Also

RFC 1155
, SnmpUtilMemFree, SnmpUtilMemAlloc

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database