public override string Read(aBinaryReader reader) { var length = reader.Read16(); var value = reader.ReadString(length); return(value); }
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); }