Search

January 26, 2020
General »
...more strictness

ubyte a;
ubyte b;
ubyte c = a + b; // allowed

ushort d;
ubyte c...
January 25, 2020
General »
...T == ubyte)) && (op == "+" || op == "-" /* || op == ... */))
    {
        return mixin("U8(cast(ubyte)(_val " ~ op ~ " cast(ubyte)other...
January 25, 2020
General »
...t);
	}

	// Test binary ops
	@safe unittest
	{
	    ubyte x = 1;
	    ubyte y = 2;
	    auto z = x...
January 25, 2020
General »
...090.0
void main()
{
    ubyte a = 0x01;
    ubyte b = 0x01;
    ubyte c = a + b; //Error...
January 10, 2020
Issues »
...thread;
import core.stdc.stdio;

ubyte[9000] data;

void task()
{
        ubyte[1024] useStack;
        printf("%p...
January 09, 2020
General »
...example you could do this:

module filesystem;

ubyte FileSystemErrorClass;

enum FileSystemError
{
    doesNotExist,
    PermissionDenied
}

return Error...
January 06, 2020
Learn »
...serialized), whereas reading should give you ubyte[] or const(ubyte)[], because what you're getting...
January 06, 2020
Learn »
...because you can implicitly cast anything to void[], including pointer arrays.

Possibly const(ubyte[]).

-Steve
January 06, 2020
Learn »
...before. But I think it should be ubyte[]. Not sure why it's void[]. Perhaps...
January 06, 2020
Learn »
I definitely think it should return ubyte[].
void[] is a very special abstraction that shouldn...
Next ›   Last »