简体   繁体   English

C#扩展方法固定字节数组?

[英]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. 非常感谢你。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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