immutable ubyte[] valueBin = cast(immutable(ubyte[])) toStringz(s); // s is string type

Error: e2ir: cannot cast toStringz(s) of type immutable(char)* to type immutable(ubyte[])



Reply via email to