MessageStudio 1.0.7

There is a newer version of this package available.
See the version list below for details.
dotnet add package MessageStudio --version 1.0.7
                    
NuGet\Install-Package MessageStudio -Version 1.0.7
                    
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" Version="1.0.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MessageStudio" Version="1.0.7" />
                    
Directory.Packages.props
<PackageReference Include="MessageStudio" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MessageStudio --version 1.0.7
                    
#r "nuget: MessageStudio, 1.0.7"
                    
#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.
#:package MessageStudio@1.0.7
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MessageStudio&version=1.0.7
                    
Install as a Cake Addin
#tool nuget:?package=MessageStudio&version=1.0.7
                    
Install as a Cake Tool

Message Studio C#

License Downloads

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 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

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
1.1.1 993 6/13/2024
1.1.0 405 4/23/2024
1.0.7 246 4/6/2024
1.0.6 174 4/6/2024 1.0.6 is deprecated because it has critical bugs.
1.0.5 212 2/21/2024
1.0.4 276 2/21/2024
1.0.3 254 1/17/2024
1.0.2 203 1/15/2024
1.0.1 211 1/6/2024
1.0.0 241 1/1/2024
0.2.2-beta 187 12/13/2023
0.2.1-beta 201 12/7/2023
0.2.0-beta 152 12/7/2023