public static byte[] Pack(CryptoDtoChannelStore channelStore, string channelTag, CryptoDtoMode mode, byte[] dtoNameBuffer, byte[] dtoBuffer)
        {
            var transmitKey = channelStore.GetTransmitKey(channelTag, mode, out ulong sequenceToSend);

            return(Pack(channelTag, mode, transmitKey, sequenceToSend, dtoNameBuffer, dtoBuffer));
        }
        public static byte[] Serialize <T>(CryptoDtoChannelStore channelStore, string channelTag, CryptoDtoMode mode, T obj)
        {
            var transmitKey = channelStore.GetTransmitKey(channelTag, mode, out ulong sequenceToSend);

            return(Serialise(channelTag, mode, transmitKey, sequenceToSend, obj));
        }