BencodeInteger Class

public sealed class BencodeInteger : BencodeValue, IEquatable<BencodeInteger>

No documentation is available.

Inheritance
BencodeValue BencodeInteger
Implements

Constructors

NameDescription
BencodeInteger(long)

BencodeInteger(long)

BencodeInteger.cs
public BencodeInteger(long value)

Parameters

value long

No documentation is available.

Properties

NameDescription
Kind
Value
public override BencodeValueKind Kind { get; }

Property value

BencodeValueKind

No documentation is available.

public long Value { get; }

Property value

long

No documentation is available.

Methods

NameDescription
Equals(BencodeInteger?)
Equals(object?)
GetHashCode()
ToString()
WriteTo(BencodeWriter, bool)

Equals overloads

Equals(BencodeInteger?)

BencodeInteger.cs
public bool Equals(BencodeInteger? other)
Parameters
other BencodeInteger?
Returns

bool

No documentation is available.

Equals(object?)

BencodeInteger.cs
public override bool Equals(object? obj)
Parameters
obj object?
Returns

bool

No documentation is available.

GetHashCode()

BencodeInteger.cs
public override int GetHashCode()

Returns

int

No documentation is available.

public override string ToString()

Returns

string

No documentation is available.

WriteTo(BencodeWriter, bool)

BencodeInteger.cs
public override void WriteTo(BencodeWriter writer, bool canonical)

Parameters

writer BencodeWriter
canonical bool

No documentation is available.