MessageStudio.Core
0.1.1-beta
Suggested Alternatives
Additional Details
This package has been moved to MessageStudio
This is a prerelease version of MessageStudio.Core.
dotnet add package MessageStudio.Core --version 0.1.1-beta
NuGet\Install-Package MessageStudio.Core -Version 0.1.1-beta
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MessageStudio.Core" Version="0.1.1-beta" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MessageStudio.Core --version 0.1.1-beta
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MessageStudio.Core, 0.1.1-beta"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MessageStudio.Core as a Cake Addin #addin nuget:?package=MessageStudio.Core&version=0.1.1-beta&prerelease // Install MessageStudio.Core as a Cake Tool #tool nuget:?package=MessageStudio.Core&version=0.1.1-beta&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Message Studio C#
Modern implementation of (some) EPD MessageStudio file formats written in managed C#
Current Support
- MSBT (Message Studio Binary Text)
MSBT Usage
From Binary
byte[] data = File.ReadAllBytes("path/to/file.msbt");
Msbt msbt = Msbt.FromBinary(data);
From Binary (Constructor)
byte[] data = File.ReadAllBytes("path/to/file.msbt");
Msbt msbt = new(data);
To Binary
/* ... */
using MemoryStream ms = new();
msbt.ToBinary(ms,
endianness: Endian.Little,
encoding: Encoding.Unicode // Encoding.UTF8 is not supported!
);
To Yaml
/* ... */
string yaml = msbt.ToYaml();
// For performance, use ReadOnlyMsbt
byte[] data = File.ReadAllBytes("path/to/file.msbt");
ReadOnlyMsbt readOnlyMsbt = new(data);
string yaml = readOnlyMsbt.ToYaml();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
0.1.1-beta | 115 | 12/6/2023 | |
0.1.0-beta | 106 | 12/5/2023 |