Search

June 26, 2020
Issues »
...f(ubyte) be used to call the f(ushort)?" The answer is yes, because ubyte...
June 22, 2020
Genel »
...format;

   writefln!"%s: %02x%s"(i,
                         cast(ubyte)c,
                         (isPrintable(c)
                          ? format!" %s"(c)
                          : ""));
 }
}

void...
June 22, 2020
Learn »
...the bytes. If you cast it to ubyte[] and print that out you can see...
June 22, 2020
Issues »
...InversionList()
{
    void toSourceCode()
    {
        toChars(0u);
    }
}

void toChars(ubyte radix = 10, T)(T) {}

=============================================
// test.d:

void...
June 16, 2020
General »
...use GC.malloc at ctfe but `new ubyte[](N)` works fine. You could even do...
June 13, 2020
General »
...should be no reason Algebraic!(char, byte, ubyte) should eat more than 2 bytes.

Yah...
June 13, 2020
General »
...returns (1 + 2 + ... + n) / n
 */
double sumDiv(ubyte n) @safe;

Nowhere is it stated what...
June 13, 2020
General »
...returns (1 + 2 + ... + n) / n
 */
double sumDiv(ubyte n) @safe
{
    double accum = 0;

    for (size...
June 11, 2020
Learn »
...Wikipedia-logo-en-big.png";
  http.onReceive = (ubyte[] data) { bytesTotal = 0; bytesReceived = 0; return data...
June 10, 2020
General »
...adapted example from the DIP:

enum Opcode : ubyte {
    decrement, increment, print,
}

struct VmInstruction {
    @system Opcode...
93 94 95 96 97 98 99 100 101 102 103 104
Next ›   Last »