Пример #1
0
        public static string ReadString(MutagenFrame frame, out byte[] extraBytes)
        {
            var str = StringBinaryTranslation.Instance.Parse(frame, parseWhole: false, stringBinaryType: StringBinaryType.NullTerminate, encoding: frame.MetaData.Encodings.NonTranslated);

            extraBytes = frame.ReadBytes(TotalLen - str.Length - 1);
            return(str);
        }