Code Editor : write_grant_head_bytes