You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'm want to archive a high compression of data when storing lavalink tracks, and storing it in string creates unnecessary overhead (for UTF16 and BASE64 representation of binary data),
Describe the solution you'd like
It would be nice if i can just directly serialize LavalinkTrack to byte array or span.
Describe alternatives you've considered
Probably hooking up into existing methods via refrection, but this is isn't a great way.
The text was updated successfully, but these errors were encountered:
While I originally was going to simply add a collection of methods that replicate the behavior of the currently-in-place ToString() methods, I was not happy with this implementation. There was lots of boilerplate logic and generally messy code.
I believe the correct approach is a slight restructure to the current serialization implementation (while still maintaining the efficiency, speed, modularity, and formatting of the current implementations) that uses bytes as a default, which can then be extended to various other encoding formats.
Re-created the branch for this and started from scratch as I wasn't happy with previous implementation.
Actual work has now begun on the attached development branch.
Is your feature request related to a problem? Please describe.
I'm want to archive a high compression of data when storing lavalink tracks, and storing it in string creates unnecessary overhead (for UTF16 and BASE64 representation of binary data),
Describe the solution you'd like
It would be nice if i can just directly serialize LavalinkTrack to byte array or span.
Describe alternatives you've considered
Probably hooking up into existing methods via refrection, but this is isn't a great way.
The text was updated successfully, but these errors were encountered: