Convert bytes pattern to string.