// first 8 are junk and are not used.
 public static BackgroundTextureType GetTextureType(byte[] mimb)
 => mimb == null ? default: TextureTypes.First(x => x.FileSize == mimb.Length);
예제 #2
0
 public static BackgroundTextureType GetTextureType(IReadOnlyCollection <byte> mimBytes)
 => mimBytes == null ? default : TextureTypes.First(x => x.FileSize == mimBytes.Count);