Show / Hide Table of Contents

Interface IWireSerialiser

Wire format serialisation of a DNS object.

Namespace: Makaretu.Dns
Assembly: Makaretu.Dns.dll
Syntax
public interface IWireSerialiser

Methods

| Improve this Doc View Source

Read(WireReader)

Reads the DNS object that is encoded in the wire format.

Declaration
IWireSerialiser Read(WireReader reader)
Parameters
Type Name Description
WireReader reader

The source of the DNS object.

Returns
Type Description
IWireSerialiser

The final DNS object.

Remarks

Reading a ResourceRecord will return a new instance that is type specific unless the GetDataLength() is zero.

| Improve this Doc View Source

Write(WireWriter)

Writes the DNS object encoded in the wire format.

Declaration
void Write(WireWriter writer)
Parameters
Type Name Description
WireWriter writer

The destination of the DNS object.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX