ByteOperator
Ecng.Common
Implements arithmetic operations for byte values.
Inherits: BaseOperator<byte>
Methods
Add
public override byte Add(byte first, byte second)
result = byteOperator.Add(first, second)
Adds two byte values.
Compare
public override int Compare(byte first, byte second)
result = byteOperator.Compare(first, second)
Compares two byte values.
Divide
public override byte Divide(byte first, byte second)
result = byteOperator.Divide(first, second)
Divides the first byte value by the second.
Multiply
public override byte Multiply(byte first, byte second)
result = byteOperator.Multiply(first, second)
Multiplies two byte values.
Subtract
public override byte Subtract(byte first, byte second)
result = byteOperator.Subtract(first, second)
Subtracts the second byte value from the first.