barcode ~master (2020-10-27T07:50:47Z)
Dub
Repo
Bits
barcode
util
struct
Bits (
T
=
ulong
)
if
(
is
(
T
==
ubyte
) ||
is
(
T
==
ushort
)
||
is
(
T
==
uint
)
||
is
(
T
==
ulong
)
) {
static if
(
is(T == ubyte)
)
enum
COUNTBITS
;
static if
(!(
is(T == ubyte)
))
static if
(
is(T == ushort)
)
enum
COUNTBITS
;
static if
(!(
is(T == ubyte)
))
static if
(!(
is(T == ushort)
))
static if
(
is(T == uint)
)
enum
COUNTBITS
;
static if
(!(
is(T == ubyte)
))
static if
(!(
is(T == ushort)
))
static if
(!(
is(T == uint)
))
static if
(
is(T == ulong)
)
enum
COUNTBITS
;
enum
VALUEBITS
;
this
(ulong cnt, ulong val);
bool
opIndex
(size_t i);
bool
opEquals
(Bits!X v);
bool
opEquals
(X v);
}
Constructors
this
this
(ulong cnt, ulong val)
Members
Functions
opEquals
bool
opEquals
(Bits!X v)
opEquals
bool
opEquals
(X v)
opIndex
bool
opIndex
(size_t i)
Manifest constants
COUNTBITS
enum
COUNTBITS
;
Undocumented in source.
COUNTBITS
enum
COUNTBITS
;
Undocumented in source.
COUNTBITS
enum
COUNTBITS
;
Undocumented in source.
COUNTBITS
enum
COUNTBITS
;
Undocumented in source.
VALUEBITS
enum
VALUEBITS
;
Undocumented in source.
Meta
Source
See Implementation
barcode
util
aliases
AppendCheckSum
functions
addBits
getDict
structs
Bits
templates
bitsStr