Search

February 15, 2020
Learn »
...res.code == 500);
writeln(res.responseBody);  // Buffer!ubyte; use .to!string to get a string...
February 11, 2020
Issues »
...b2.temp@gmx.com> ---
TemplateValueParameter too:

---
void foo(ubyte u = 0xFF1)()
{
}

void main()
{
    foo!1();
}
---

--
February 07, 2020
Issues »
...fun()
{
    static struct InnerFun
    {
        ubyte a;
        void fun() {}
    }
    static struct InnerNoFun
    {
        ubyte a;
    }
}

both have...
February 07, 2020
General »
...work around by marking InnerFun 'static':

void fun()
{
    static struct InnerFun
    {
        ubyte a;
        void fun() {}
    }
    ...
}
February 07, 2020
General »
...void fun()
{
    struct InnerFun
    {
        ubyte a;
        void fun() {}
    }
    struct InnerNoFun
    {
        ubyte a;
    }
    pragma(msg, "InnerFun...
February 07, 2020
Issues »
...void fun()
{
    struct InnerFun
    {
        ubyte a;
        void fun() {}
    }
    struct InnerNoFun
    {
        ubyte a;
    }
    // prints 16, expected...
January 31, 2020
General »
...new ubyte[width * 3];

				readln;

				for (uint i = 0; i < height; i++)
				{
					file.rawRead!ubyte...
January 29, 2020
Issues »
...SocketType.STREAM);
        socket.connect(new UnixAddress("\0test"));
        ubyte[128] buffer;
        socket.receive(buffer[]);
        socket.close...
January 27, 2020
Learn »
...used encodeText to convert the data to ubyte. Note that for char buffer, this basically...
January 27, 2020
Learn »
...my buffer is `char` but File writes `ubyte`

```dlang
/+ dub.sdl:
    name "iobuftofile"
    dependency "iopipe...
104 105 106 107 108 109 110 111 112 113 114
Next ›   Last »