Buffer only accepts str