C# Class BACnet.Core.Datalink.Mac

Afficher le fichier Open project: LorenVS/bacstack Class Usage Examples

Méthodes publiques

Свойство Type Description
Broadcast Mac

Méthodes publiques

Méthode Description
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

Method Details

Equals() public méthode

Tests to see if this object equals another
public Equals ( object obj ) : bool
obj object The object to compare this object with
Résultat bool

GetHashCode() public méthode

Computes a hash code for the mac address
public GetHashCode ( ) : int
Résultat int

IsBroadcast() public méthode

Checks to see if this mac address contains a broadcast address
public IsBroadcast ( ) : bool
Résultat bool

Mac() public méthode

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
Résultat System

Mac() public méthode

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
Résultat System

operator() public static méthode

Compares two mac addresses for inequality
public static operator ( ) : bool
Résultat bool

this() public méthode

Retrieves the index-th byte of the mac address
public this ( int index ) : byte
index int The index of the byte to retrieve
Résultat byte

Property Details

Broadcast public_oe static_oe property

Shared instance of the broadcast mac
public static Mac,BACnet.Core.Datalink Broadcast
Résultat Mac