C# Класс BACnet.Core.Datalink.Mac

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Broadcast Mac

Открытые методы

Метод Описание
Equals ( object obj ) : bool

Tests to see if this object equals another

GetHashCode ( ) : int

Computes a hash code for the mac address

IsBroadcast ( ) : bool

Checks to see if this mac address contains a broadcast address

Mac ( byte bytes, bool copy = true ) : System

Constructs a new mac address instance

Mac ( byte bytes, int offset, int length ) : System

Constructs a new mac address instance by copying bytes from a buffer

operator ( ) : bool

Compares two mac addresses for inequality

this ( int index ) : byte

Retrieves the index-th byte of the mac address

Описание методов

Equals() публичный метод

Tests to see if this object equals another
public Equals ( object obj ) : bool
obj object The object to compare this object with
Результат bool

GetHashCode() публичный метод

Computes a hash code for the mac address
public GetHashCode ( ) : int
Результат int

IsBroadcast() публичный метод

Checks to see if this mac address contains a broadcast address
public IsBroadcast ( ) : bool
Результат bool

Mac() публичный метод

Constructs a new mac address instance
public Mac ( byte bytes, bool copy = true ) : System
bytes byte The bytes of the mac address
copy bool True if the bytes must be copied to a new array, false otherwise
Результат System

Mac() публичный метод

Constructs a new mac address instance by copying bytes from a buffer
public Mac ( byte bytes, int offset, int length ) : System
bytes byte The buffer containing the bytes to copy
offset int The offset of the mac address bytes
length int The length of the mac address bytes
Результат System

operator() публичный статический метод

Compares two mac addresses for inequality
public static operator ( ) : bool
Результат bool

this() публичный метод

Retrieves the index-th byte of the mac address
public this ( int index ) : byte
index int The index of the byte to retrieve
Результат byte

Описание свойств

Broadcast публичное статическое свойство

Shared instance of the broadcast mac
public static Mac,BACnet.Core.Datalink Broadcast
Результат Mac