Recursively serializes val with the provided endianness.
If true, arrays won't have their length serialized. Defaults to false.
The value to be serialized.
The endianness to be serialized to. Defaults to native.
Serialized byte array.
See Implementation
Recursively serializes val with the provided endianness.