Merge "[view_compiler] cleanup: Use format-specific bytecode encoding functions"