-
Kenton Varda authored
Example: const data :Data = embed "some-file.dat"; Files are looked up the same way an import would be. You can use embed when Data or Text is expected. You can also use it when a struct type is expected -- the file will be interpreted as a message using standard binary serialization.
82ead55c
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
binary | ||
errors.capnp.nobuild | ||
errors.txt | ||
flat | ||
packed | ||
pretty.txt | ||
segmented | ||
segmented-packed | ||
short.txt |