简体   繁体   中英

C# extension methods to fixed byte array?

Is there any way to implement an extension method for an 'unsafe fixed byte array'?

I have some structs which have few fixed byte array fields.

I have to use the "pointer style" to do the things in this project.

Any help will be appreaciated!

Thank you very much.

扩展方法扩展了类实例,仅此而已。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM