Buffer and type compatibility