/// <summary> /// Initializes a new DirectIMDataReader /// </summary> public DirectIMDataWriter(DirectIMConnection connection, DirectIM message) { _conn = connection; _fullbuffer = message.AttachmentsToByteArray(); }