Thank you , it works, it suits my situation, actually I have try this "withUnsafeBytes" method before, just close to the answer, but didn't use buffer like that way .
And yes , the camera vendor provided the SDK
Post
Replies
Boosts
Views
Activity
not json,just binary data,the data came from 360 camera with bluetooth or wifi link ,it will call this function when data is prepared ,and I wanna use this gyro info in my Swift program