Example #1
0
 public static int HeaderLength(BsaVersionType version)
 {
     return(version switch
     {
         BsaVersionType.SSE => 0x18,
         _ => 0x10,
     });
Example #2
0
 private static Encoding GetEncoding(BsaVersionType version)
 {
     return(version switch
     {
         BsaVersionType.SSE => Windows1252.Value,
         _ => Encoding.UTF7
     });