deque to bytes