2020-03-27 17:46:45 +08:00
|
|
|
|
namespace LeanCloud.Realtime {
|
2020-03-16 11:50:49 +08:00
|
|
|
|
public class LCIMBinaryMessage : LCIMMessage {
|
2020-03-17 16:17:19 +08:00
|
|
|
|
public byte[] Data {
|
2020-03-18 16:21:29 +08:00
|
|
|
|
get; internal set;
|
2020-03-17 16:17:19 +08:00
|
|
|
|
}
|
2020-03-16 11:50:49 +08:00
|
|
|
|
|
|
|
|
|
public LCIMBinaryMessage(byte[] data) {
|
2020-03-17 16:17:19 +08:00
|
|
|
|
Data = data;
|
2020-03-16 11:50:49 +08:00
|
|
|
|
}
|
2020-03-27 17:30:18 +08:00
|
|
|
|
|
|
|
|
|
internal static LCIMBinaryMessage Deserialize(byte[] bytes) {
|
|
|
|
|
return new LCIMBinaryMessage(bytes);
|
|
|
|
|
}
|
2020-03-16 11:50:49 +08:00
|
|
|
|
}
|
|
|
|
|
}
|