Octet |
The OctetString type exposes the following members.
| Name | Description | |
|---|---|---|
| OctetString(Byte) | Creates an OctetString from raw bytes. | |
| OctetString(Levels) | Creates an OctetString with a specific Levels. | |
| OctetString(String) | Creates an OctetString with a specific String. This string is treated as UTF-16. | |
| OctetString(String, Encoding) | Creates an OctetString with a specific String. This string is treated in specific Encoding. | |
| OctetString(TupleInt32, Byte, Stream) | Initializes a new instance of the OctetString class. |
| Name | Description | |
|---|---|---|
| DefaultEncoding | Default encoding of OctetString type. | |
| Empty | Gets the empty string. | |
| Encoding | Encoding of this OctetString | |
| TypeCode | Type code. |
| Name | Description | |
|---|---|---|
| AppendBytesTo | Appends the bytes to Stream. | |
| Equals(Object) |
Determines whether the specified Object is equal to the current OctetString.
(Overrides ObjectEquals(Object)) | |
| Equals(OctetString) | Indicates whether the current object is equal to another object of the same type. | |
| GetHashCode |
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode) | |
| GetRaw | Gets raw bytes. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IsNullOrEmpty | Indicates whether the specified OctetString object is a null reference (Nothing in Visual Basic) or an Empty string. | |
| ToHexString | Returns a String in a hex form that represents this OctetString. | |
| ToLevels | Returns a Levels that represents this OctetString. | |
| ToPhysicalAddress | Converts octets to physical address. | |
| ToString |
Returns a String in UTF-16 that represents this OctetString.
(Overrides ObjectToString) | |
| ToString(Encoding) | Returns a String in a specific Encoding that represents this OctetString. |
| Name | Description | |
|---|---|---|
| Equality(OctetString, OctetString) | The equality operator. | |
| Inequality(OctetString, OctetString) | The inequality operator. |
| Name | Description | |
|---|---|---|
| ToBytes |
Converts ISnmpData to a byte array.
(Defined by SnmpDataExtension) | |
| ToPhysicalAddress |
Converts OctetString to PhysicalAddress.
(Defined by Helper) |