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
Value
public int Value { get; set; }
Property Value
Methods
Equals(ReaderInt?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ReaderInt? other)
Parameters
other
ReaderIntAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
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
implicit operator ReaderInt(int)
public static implicit operator ReaderInt(int value)
Parameters
value
int