public void AddTags(int size, byte[] rawTags) { System.Diagnostics.Debug.Assert(Tags == null); Tags = new FlacTagsBlock(size, rawTags); items.Add(Tags); }
public void AddTags(int position, int size, byte[] rawTags) { var block = new FlacTagsBlock(position, size, rawTags); items.Add(block); if (Tags == null) { Tags = block; } }