add embed function
This commit is contained in:
parent
bc58a73ef5
commit
254a547579
@ -279,3 +279,9 @@ AlignPow2(T)(T v, T a)
|
|||||||
return (v + a - 1) & ~(a - 1);
|
return (v + a - 1) & ~(a - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
u8[]
|
||||||
|
Embed(string file_name)
|
||||||
|
{
|
||||||
|
import std.file;
|
||||||
|
return read(file_name);
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user