Exemple #1
0
        public override string Read(aBinaryReader reader)
        {
            var length = reader.Read16();
            var value  = reader.ReadString(length);

            return(value);
        }
Exemple #2
0
        public override string Read(aBinaryReader reader)
        {
            var value  = reader.ReadString(mMultiple);
            var length = value.IndexOf('\x00');

            if (length > 0)
            {
                return(value.Substring(0, length));
            }
            return(value);
        }