public void CreateFileBytes(HuffmanEncodeModel huffmanEncodeModel, bool specialSymbol, Dictionary <string, OutputValues> map) { Header header = headerCreator.Create(huffmanEncodeModel, specialSymbol, map); this.header = header; this.symbolMap = map; if (byteCreator.IsEmpty == false) { ++currentSize; data.Add(byteCreator.Data); } fileBytes = header.Content.Concat(data).ToArray(); }