slice stream like buffer/string