public static ID4? GetID4From(IAtomCollection collection, ID4 name) { var atom = collection.FindByName(name); byte[] value = null; if (atom != null && atom.TryGetBytes(out value) && value.Length==4) { return new ID4(value); } else { return null; } }