Interface BytesUInt256Value<T extends UInt256Value<T>>

All Superinterfaces:
org.apache.tuweni.bytes.Bytes, org.apache.tuweni.bytes.Bytes32, Comparable<org.apache.tuweni.bytes.Bytes>, UInt256Value<T>

public interface BytesUInt256Value<T extends UInt256Value<T>> extends org.apache.tuweni.bytes.Bytes32, UInt256Value<T>
  • Method Details

    • toLong

      default long toLong()
      Specified by:
      toLong in interface org.apache.tuweni.bytes.Bytes
    • toHexString

      default String toHexString()
      Specified by:
      toHexString in interface org.apache.tuweni.bytes.Bytes
    • toShortHexString

      default String toShortHexString()
      Specified by:
      toShortHexString in interface org.apache.tuweni.bytes.Bytes
    • toBigInteger

      default BigInteger toBigInteger()
      Description copied from interface: UInt256Value
      The BigInteger corresponding to interpreting these bytes as an unsigned integer.
      Specified by:
      toBigInteger in interface org.apache.tuweni.bytes.Bytes
      Specified by:
      toBigInteger in interface UInt256Value<T extends UInt256Value<T>>
      Returns:
      A positive (or zero) BigInteger corresponding to interpreting these bytes as an unsigned integer.
    • numberOfLeadingZeros

      default int numberOfLeadingZeros()
      Specified by:
      numberOfLeadingZeros in interface org.apache.tuweni.bytes.Bytes
    • isZero

      default boolean isZero()
      Specified by:
      isZero in interface org.apache.tuweni.bytes.Bytes
    • bitLength

      default int bitLength()
      Specified by:
      bitLength in interface org.apache.tuweni.bytes.Bytes