Example #1
0
        public static string ReadName(this BinaryReader reader)
        {
            int nameLen = reader.ReadInt32();

            byte[] nameBuf = reader.ReadBytes(nameLen);
            return(Utility.DecryptName(nameBuf));
        }
Example #2
0
 public static string ReadName(this BinaryReader reader, int length)
 {
     byte[] nameBuf = reader.ReadBytes(length);
     return(Utility.DecryptName(nameBuf));
 }