messagepack
messagepack copied to clipboard
Implemented a generic packing function
Using dart's dynamic keywords, I wrote up a function which uses the rest of the pack() functions within the packer class. I was using this library on one of my projects, and I wanted to be able to use this library to pack whatever datatype the client needs, so using dart's features I came up with this little function,