API

Types

    Functions

    Documentation

    BitOperations.bclearMethod
    bclear(x::T, bit::Integer)::T where {T<:Integer}

    Returns a modified copy of x, with bit bit cleared (set to zero).

    BitOperations.bflipMethod
    bflip(x::T, bit::Integer)::T where {T<:Integer}

    Returns a modified copy of x, with bit bit flipped.

    BitOperations.bflipMethod
    bflip(x::T, bits::UnitRange{<:Integer})::T where {T<:Integer}

    Returns a modified copy of x, with all bits in bit range bits flipped.

    BitOperations.bgetMethod
    bget(x::T, bit::Integer)::Bool where {T<:Integer}

    Get the value of bit bit of x.

    BitOperations.bgetMethod
    bget(x::T, bits::UnitRange{<:Integer})::T where {T<:Integer}

    Get the value of the bit range bits of x.

    BitOperations.bmaskMethod
    bmask(::Type{T}, bit::Integer)::T where {T<:Integer}

    Generates a bit mask of type T with bit bit set to one.

    BitOperations.bmaskMethod
    bmask(::Type{T}, bits::UnitRange{<:Integer})::T where {T<:Integer}

    Generates a bit mask of type T with bit-range bits set to one.

    BitOperations.bsetMethod
    bset(x::T, bit::Integer, y::Bool)::T where {T<:Integer}

    Returns a modified copy of x, with bit bit set to y.

    BitOperations.bsetMethod
    bset(x::T, bit::Integer)::T where {T<:Integer}

    Returns a modified copy of x, with bit bit set (to one).

    BitOperations.bsetMethod
    bset(x::T, bits::UnitRange{<:Integer}, y::Integer)::T where {T<:Integer}

    Returns a modified copy of x, with bit range bits set to y.

    BitOperations.lsbgetMethod
    lsbget(x::Integer)::Bool

    Returns the value of the least significant bit of x.

    BitOperations.lsbgetMethod
    lsbget(x::T)::T where {T <: Integer}

    Returns the value of the nbits least significant bits of x.

    BitOperations.lsbmaskMethod
    lsbmask(::Type{T})::T where {T<:Integer}

    Generates a bit mask with only the least significant bit set.

    BitOperations.lsbmaskMethod
    lsbmask(::Type{T}, nbits::Integer)::T where {T<:Integer}

    Generates a bit mask with only the nbits least significant bits set.

    BitOperations.msbgetMethod
    msbget(x::T)::Bool where {T<:Integer}

    Returns the value of the most significant bit of x.

    BitOperations.msbgetMethod
    msbget(x::T)::T where {T<:Integer}

    Returns the value of the nbits most significant bits of x.

    BitOperations.msbmaskMethod
    msbmask(::Type{T})::T where {T<:Integer}

    Generates a bit mask with only the most significant bit set.

    BitOperations.msbmaskMethod
    msbmask(::Type{T}, nbits::Integer)::T where {T<:Integer}

    Generates a bit mask with only the nbits most significant bits set.

    BitOperations.zigzagdecFunction
    zigzagdec(x::Unsigned)::Signed

    Zigzag-decode x, Google Protocol Buffers compatible.

    BitOperations.zigzagencFunction
    zigzagenc(x::Signed)::Unsigned

    Zigzag-encode x, Google Protocol Buffers compatible.