Extracts a domain name from a byte array - Domain name in buffer much have trailing zero
Namespace:
JHSoftware.SimpleDNS.PluginAssembly: sdnsplugin (in sdnsplugin)
Version: 5.0.110.0 (5.0.110.0)
Syntax
| C# |
|---|
public static DomainName FromBytes( byte[] ba, int FromPos, int Length ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function FromBytes ( _ ba As Byte(), _ FromPos As Integer, _ Length As Integer _ ) As DomainName |
| Visual C++ |
|---|
public: static DomainName^ FromBytes( array<unsigned char>^ ba, int FromPos, int Length ) |
Parameters
- ba
- Type: array<System..::.Byte>[]()[]
The byte array to extract from
- FromPos
- Type: System..::.Int32
The position in the buffer to start at
- Length
- Type: System..::.Int32
The lenght of the domain name bytes