public bool ReadBinary(Stream s) { if (s != null) { uint size = Core.Unity.Convert.ReadUint(s); for (uint index = 0; index < size; ++index) { NStruct ps = new NStruct(); if (ps.Unserial(s)) { Add(ps); } } return(true); } return(false); }