无需文件系统即可写入数据 [英] Write data without filesystem

查看:106
本文介绍了无需文件系统即可写入数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好
我想在不使用文件系统的情况下将某些数据写入内存(胖或...)
我的数据是一些文本,我需要精确地写在字节0处,因为我想将其与微控制器一起使用,并从字节0到最后一个字节读取数据.
谢谢

Hello
I want to write some data to a memory without using file system(fat or...)
My data is some text and i need to write exactly at byte 0 because i wan to use it with a micro controller and read data from byte 0 to last byte.
Thank you

推荐答案

.net中对此没有支持.
您必须使用本机方法(互操作)或删除c#并使用c,c ++或汇编器(或从c或c ++程序中的汇编器).
磁盘编辑器(例如)执行此操作,因此它是可行的(具有正确的权限).
There is no support in .net for this.
You have to use native methods (interop) or drop c# and use c, c++ or assembler (or assembler from within a c or c++ program).
Disk editors (for example) do this, so it is doable (with the right permissions).


这篇关于无需文件系统即可写入数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆