move byte sequence encoding fns to bytes ns