Nindot.MessageStudio
1.0.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Nindot.MessageStudio --version 1.0.2
NuGet\Install-Package Nindot.MessageStudio -Version 1.0.2
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="Nindot.MessageStudio" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nindot.MessageStudio --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Nindot.MessageStudio, 1.0.2"
#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 Nindot.MessageStudio as a Cake Addin #addin nuget:?package=Nindot.MessageStudio&version=1.0.2 // Install Nindot.MessageStudio as a Cake Tool #tool nuget:?package=Nindot.MessageStudio&version=1.0.2
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 Yaml
string yaml = File.ReadAllText("path/to/file.msbt.yml");
Msbt msbt = Msbt.FromYaml(yaml);
Write Binary (to Stream)
/* ... */
using MemoryStream ms = new();
msbt.WriteBinary(
ms,
endianness: Endian.Little,
encoding: Encoding.Unicode // Encoding.UTF8 is not supported!
);
To Binary (to Bytes)
Note: This method creates a copy of the written bytes.<br/> Use
WriteBinary(in Stream, TextEncoding?, Endianness?)
if writing to a stream is possible.
/* ... */
byte[] data = msbt.ToBinary(
endianness: Endian.Little,
encoding: Encoding.Unicode // Encoding.UTF8 is not supported!
);
To Yaml
/* ... */
string yaml = msbt.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
- CommunityToolkit.HighPerformance (>= 8.2.2)
- Revrs (>= 1.0.5)
- VYaml (>= 0.25.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.