Replies: 1 comment
|
I don't believe there's currently a schema option that changes the C# Object API from The generated Object API is designed around mutable collections and uses data:[ubyte];become: public List<byte> Data { get; set; }That said, your concern is very reasonable. For large binary payloads such as pixel buffers, image data, audio samples, etc., converting from A few possible alternatives:
For I'd be interested to hear whether the maintainers have a recommended pattern for large binary data when using the C# Object API. |
Uh oh!
There was an error while loading. Please reload this page.
I am generating byte arrays, and the schemas contain
But the resulting (Object API) on the C# side is a List:
Is there a way to generate it accepting a
byte[]instead?The issue I am having specifically is that I store pixel data.
Generating a List out of my pixel byte arrays just doubles the required memory for this conversion.
All reactions