alias _setBuff as setBuffer, fixes #11