Hi, > MyQByteArray &operator >>(T myParam) MyQByteArray &operator >>(int &myParam) MyQByteArray &operator >>(long &myParam) etc. You will have to use a reference and you would usually create an override for each type explicitly. - Michael.