Search

April 17, 2020
Learn »
On Friday, 17 April 2020 at 12:59:20 UTC, Simen Kjærås wrote:

[Deleted text...
April 17, 2020
Learn »

The problem is, short/short gives an int answer:

unittest {
    import std.experimental.checkedint;
    Checked...
April 17, 2020
Learn »
...for `~cast(ubyte)0u`, use '-preview=intpromote' switch or `~cast(int)(cast(ubyte)0u)`
x...
April 12, 2020
Announce »
...readme this expression is wrong: `(mstring.sizeof / ubyte.sizeof) * mstring.length`
should be `mstring.length...
April 09, 2020
Learn »
...a process yet");
        size_t bytesWritten = 0;
        ubyte[T.sizeof] buffer;
        auto b = buffer[];
        b...
April 09, 2020
General »
byte is actually signed. There's ubyte. :)
April 08, 2020
General »
...see:

@trusted extern(C) void copy(ubyte[] dest, ubyte[] src)

Then you are going to...
April 08, 2020
General »
...352)
std.functional.safeOp!"<".safeOp!(ulong, immutable(ubyte)).safeOp|/usr/include/dmd/phobos/std/functional...
April 08, 2020
Issues »
...struct Bar
{
    ubyte[0x7FFF_FFE] memory1 = void;
    ubyte[0x7FFF_FFE] memory2 = void;
    ubyte[0x7FFF_FFE...
April 05, 2020
Announce »
...buffer (which is essentally array of immutable(ubyte)[]). Then every operation on buffer (trim, split...
99 100 101 102 103 104 105 106 107 108 109
Next ›   Last »