add embed function

This commit is contained in:
Matthew 2025-08-16 07:28:11 +10:00
parent bc58a73ef5
commit 254a547579

View File

@ -279,3 +279,9 @@ AlignPow2(T)(T v, T a)
return (v + a - 1) & ~(a - 1);
}
u8[]
Embed(string file_name)
{
import std.file;
return read(file_name);
}