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;
2using System.Collections.Generic;
3using System.IO;
7
9{
13 public class NULL : ResourceRecord
14 {
15 private byte[] data;
16
20 public NULL()
21 : base()
22 {
23 this.data = null;
24 }
25
35 public NULL(string Name, TYPE Type, CLASS Class, uint Ttl, Stream Data, long EndPos)
36 : base(Name, Type, Class, Ttl)
37 {
38 int c = (int)(EndPos - Data.Position);
39 this.data = new byte[c];
40 Data.ReadAll(this.data, 0, c);
41 }
42
46 [DefaultValueNull]
47 public byte[] Data
48 {
49 get => this.data;
50 set => this.data = value;
51 }
52 }
53}
NULL(string Name, TYPE Type, CLASS Class, uint Ttl, Stream Data, long EndPos)
NULL (Experimental)
Definition: NULL.cs:35
Abstract base class for a resource record.
CLASS
TYPE fields are used in resource records.
Definition: CLASS.cs:11
TYPE
TYPE fields are used in resource records.
Definition: TYPE.cs:11