Use GetConstructorName & strcmp to determine whether an object is of type Buffer.