-
```csharp
[MemoryPackable]
public sealed partial class MPTest
{
public DateTimeOffset D { get; set; }
}
var mptest = new MPTest() { D = new(2023, 10, 25, 17, 45, 00, TimeSpan.FromHours(8))…
-
AOT formatters cannot access private members of the types they format today.
This is a blocker for "always on" AOT source generation of MessagePack serializable types.
As a solution, I propose th…
-
I have a class that has a dictionary of type Dictionary. It is used to store some data of various types. Now I want to deserialize the stored data, but I get the error message:
```
MemoryPackSeri…
-
This worked fine in v1.10, but v1.20.2 throws the following error: "CS0664: Literal of type double cannot be implicitly converted to type 'decimal'; use an 'M' suffix to create a literal of this type…
-
If I have the following class dependencies:
```cs
[MemoryPackable(SerializeLayout.Explicit)]
public sealed partial record OperatorInfo(
[property:MemoryPackOrder(0)] string Id,
[property:Memo…
-
```wat
(module
(memory $0 16 17)
(data $0 (i32.const -1) "")
)
```
```
$ bin/wasm-opt a.wat --memory-packing --print
(module
(memory $0 16 17)
)
```
Before the optimization this modul…
-
Currently, if you have the following:
```cs
[MemoryPackable]
public partial class TestMessage {
public readonly string ExampleText;
public TestMessage(string example_text) {
Ex…
-
I am having an issue with BrotliCompression and Decompression when not using Fastest. The code works fine with fastest, but I would really love to use smallest size for archieving stuff.
This is h…
-
I am using `MemoryPack` in a package, which needs to be AOT compatible, thus in every place I use it, I need to ensure the compiler has enough information to avoid it being trimmed.
For example to …
-
Hi Thank you for your awseome library.
I am not good at writing optimized code in C#.
I would like to know what is the best way to serialize an object to string.
I do not manage to make it wor…