csharp
public static class CompiledLibraryWriterWrites a CompiledLibrary as .rvnlib.
No guide page documents this yet — the page shows what the code says about itself.
Methods (3)
public static byte[] Write(CompiledLibrary library)Serialises to bytes.
public static void WriteFile(string path, CompiledLibrary library)Serialises to a file.
public static string WriteJson(CompiledLibrary library)The library as indented JSON, with no container around it. For inspection and for the tests; the reader does not accept it, which is the point of the magic number.
Used by (6)
- CompileDriverVixen.Raven.Cli
- CompiledLibraryTestsVixen.Raven.Tests
- InOutTestsVixen.Raven.Tests
- LibraryTreeTestsVixen.Raven.Tests
- SizedArrayTestsVixen.Raven.Tests
- WritableResourceTestsVixen.Raven.Tests