pub fn set_buffer( buffer_type: BufferType, start: usize, size: usize, value: &[u8], ) -> Result<(), Status>