scodec.bits

BitwiseOperations

trait BitwiseOperations[Repr] extends AnyRef

Bitwise operations on a value of type Repr.

Repr

type that supports that supports bitwise operations

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Grouped
  2. Alphabetic
  3. By inheritance
Inherited
  1. BitwiseOperations
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def and(other: Repr): Repr

    Returns a bitwise AND of this vector with the specified vector.

    Returns a bitwise AND of this vector with the specified vector.

    The resulting vector's size is the minimum of this vector's size and the specified vector's size.

  2. abstract def leftShift(n: Int): Repr

    Returns a bit vector of the same size with each bit shifted to the left n bits.

  3. abstract def not: Repr

    Returns a bitwise complement of this vector.

  4. abstract def or(other: Repr): Repr

    Returns a bitwise OR of this vector with the specified vector.

    Returns a bitwise OR of this vector with the specified vector.

    The resulting vector's size is the minimum of this vector's size and the specified vector's size.

  5. abstract def rightShift(n: Int, signExtension: Boolean): Repr

    Returns a bit vector of the same size with each bit shifted to the right n bits.

    Returns a bit vector of the same size with each bit shifted to the right n bits.

    signExtension

    whether the n left-msot bits should take on the value of bit 0

  6. abstract def xor(other: Repr): Repr

    Returns a bitwise XOR of this vector with the specified vector.

    Returns a bitwise XOR of this vector with the specified vector.

    The resulting vector's size is the minimum of this vector's size and the specified vector's size.

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def &(other: Repr): Repr

    Returns a bitwise AND of this vector with the specified vector.

    Returns a bitwise AND of this vector with the specified vector.

    The resulting vector's size is the minimum of this vector's size and the specified vector's size.

  5. final def <<(n: Int): Repr

    Returns a bit vector of the same size with each bit shifted to the left n bits.

  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def >>(n: Int): Repr

    Returns a bit vector of the same size with each bit shifted to the right n bits where the n left-most bits are sign extended.

  9. final def >>>(n: Int): Repr

    Returns a bit vector of the same size with each bit shifted to the right n bits where the n left-most bits are low.

  10. final def ^(other: Repr): Repr

    Returns a bitwise XOR of this vector with the specified vector.

    Returns a bitwise XOR of this vector with the specified vector.

    The resulting vector's size is the minimum of this vector's size and the specified vector's size.

  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. final def unary_~(): Repr

    Returns a bitwise complement of this vector.

  25. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def |(other: Repr): Repr

    Returns a bitwise OR of this vector with the specified vector.

    Returns a bitwise OR of this vector with the specified vector.

    The resulting vector's size is the minimum of this vector's size and the specified vector's size.

Inherited from AnyRef

Inherited from Any

Bitwise Operations

Ungrouped