csharp-sdk-upm/Realtime/Message/LCIMBinaryMessage.cs

16 lines
377 B
C#
Raw Normal View History

namespace LeanCloud.Realtime {
public class LCIMBinaryMessage : LCIMMessage {
public byte[] Data {
get; internal set;
}
public LCIMBinaryMessage(byte[] data) {
Data = data;
}
2020-03-27 17:30:18 +08:00
internal static LCIMBinaryMessage Deserialize(byte[] bytes) {
return new LCIMBinaryMessage(bytes);
}
}
}