Whats the diffrence between an array^ and a byte*?

后端 未结 2 1672
执笔经年
执笔经年 2021-01-16 14:04

And is it possible to cast the array< Byte>^ to an byte*?

how would the below code need to changed to return a byte*?

array^ StrToByte         


        
2条回答
  •  爱一瞬间的悲伤
    2021-01-16 14:13

    No, you cannot cast it, but array has a method that returns the raw array called "data()"

    EDIT: nvm, thought you were talking about the stl class array.

提交回复
热议问题