NullIfEmpty

@SerialInfo
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class NullIfEmpty

Annotation added for serializing using BluetoothFormat

When applied to a Collection, a null flag will be added and set to 0 if the list is empty (resulting in no length being encoded in the body).