Table of Contents

Class ReaderInt

Namespace
Mech3DotNet.Reader
Assembly
Mech3DotNet.dll
public sealed class ReaderInt : ReaderValue, IEquatable<ReaderInt>
Inheritance
ReaderInt
Implements
Inherited Members

Constructors

ReaderInt()

public ReaderInt()

ReaderInt(int)

public ReaderInt(int value)

Parameters

value int

Properties

Kind

The kind of ReaderValue.

public override ReaderValueKind Kind { get; }

Property Value

ReaderValueKind

Value

public int Value { get; set; }

Property Value

int

Methods

Equals(ReaderInt?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(ReaderInt? other)

Parameters

other ReaderInt

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Write(BinaryWriter)

public override void Write(BinaryWriter writer)

Parameters

writer BinaryWriter

Operators

implicit operator int(ReaderInt)

public static implicit operator int(ReaderInt value)

Parameters

value ReaderInt

Returns

int

implicit operator ReaderInt(int)

public static implicit operator ReaderInt(int value)

Parameters

value int

Returns

ReaderInt