Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
NULL.cs
1using System.IO;
5
7{
11 public class NULL : ResourceRecord
12 {
13 private byte[] data;
14
18 public NULL()
19 : base()
20 {
21 this.data = null;
22 }
23
33 public NULL(string Name, TYPE Type, CLASS Class, uint Ttl, Stream Data, long EndPos)
34 : base(Name, Type, Class, Ttl)
35 {
36 int c = (int)(EndPos - Data.Position);
37 this.data = new byte[c];
38 Data.ReadAll(this.data, 0, c);
39 }
40
44 [DefaultValueNull]
45 public byte[] Data
46 {
47 get => this.data;
48 set => this.data = value;
49 }
50 }
51}
NULL(string Name, TYPE Type, CLASS Class, uint Ttl, Stream Data, long EndPos)
NULL (Experimental)
Definition: NULL.cs:33
Abstract base class for a resource record.
CLASS
TYPE fields are used in resource records.
Definition: CLASS.cs:7
TYPE
TYPE fields are used in resource records.
Definition: TYPE.cs:7