private void Enqueue(byte[] data, BlamPointer dataPointer) { var dataQueueItem = new ByteDataQueueItem(data) { Pointer = dataPointer }; _lookupDictionary[data] = dataQueueItem; _queue.Enqueue(dataQueueItem); }
private void Enqueue(byte[] data, int alignment = 4) { var blamPointer = new BlamPointer(data.Length, _queueAddress, 1, alignment); var dataQueueItem = new ByteDataQueueItem(data) { Pointer = blamPointer }; _lookupDictionary[data] = dataQueueItem; _queue.Enqueue(dataQueueItem); _queueAddress = blamPointer.EndAddress; }