GetSize() public static method

public static GetSize ( ) : int
return int
        /// <inheritdoc/>
        public void LoadBinaryData(byte[] inData)
        {
            using var ms = new MemoryStream(inData);
            using var br = new BinaryReader(ms);
            var portalReferenceCount = inData.Length / PortalReference.GetSize();

            for (var i = 0; i < portalReferenceCount; ++i)
            {
                PortalReferences.Add(new PortalReference(br.ReadBytes(PortalReference.GetSize())));
            }
        }
 public void LoadBinaryData(byte[] inData)
 {
     using (MemoryStream ms = new MemoryStream(inData))
     {
         using (BinaryReader br = new BinaryReader(ms))
         {
             int portalReferenceCount = inData.Length / PortalReference.GetSize();
             for (int i = 0; i < portalReferenceCount; ++i)
             {
                 this.PortalReferences.Add(new PortalReference(br.ReadBytes(PortalReference.GetSize())));
             }
         }
     }
 }