Serializes the MultiKeySignature into its raw byte representation in a KMP-compatible way. The format is the concatenation of all individual signatures followed by the 4-byte bitmap.
The serialized byte array.