private void appendNode(ID3TagSpec tag, FrameDataNode node) { if (tag.v2_tail == null || tag.v2_head == null) { tag.v2_head = node; tag.v2_tail = node; } else { tag.v2_tail.nxt = node; tag.v2_tail = node; } }
private FrameDataNode findNode(ID3TagSpec tag, int frame_id, FrameDataNode last) { var node = last != null ? last.nxt : tag.v2_head; while (node != null) { if (node.fid == frame_id) { return(node); } node = node.nxt; } return(null); }