package Ġcom . bos w el ja . smart wat che xt ensions . app manager Ċ Ċ import Ġcom . bos w el ja . watch connection . serialization . Message Serializer Ċ import Ġkotlinx . serialization . Experimental Serialization Api Ċ import Ġkotlinx . serialization . decode From ByteArray Ċ import Ġkotlinx . serialization . encode To ByteArray Ċ import Ġkotlinx . serialization . protobuf . Proto Buf Ċ Ċ /** Ċ Ġ* ĠA Ġ[ Message Serializer ] Ġto Ġhandle Ġserialization Ġof Ġ[ App Icon ] Ċ Ġ*/ Ċ @ Opt In ( Experimental Serialization Api :: class ) Ċ object ĠApp Icon Serializer Ġ: ĠMessage Serializer < App Icon > Ġ{ ĊĠĠĠ Ġoverride Ġval Ġmessage Paths : ĠSet < String > Ġ= Ġset Of ( APP _ ICON ) ĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġdeserialize ( bytes : ĠByteArray ?): ĠApp Icon Ġ= ĠProto Buf . decode From ByteArray ( bytes !! ) ĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġserialize ( data : ĠApp Icon ): ĠByteArray Ġ= ĠProto Buf . encode To ByteArray ( data ) Ċ } Ċ