start of byte stuff methods