Code Editor : sg_write_buffer