Len Freehoffer
Len Freehoffer
@Abel94 I have same issue, but I still don't figure it out... can you please share your experience with me? thx!
@Abel94 thx a lot! you are my life saver!
+1 ```go type message struct { crc uint16 } msg := &message{} unpack(b, msg) func unpack(b []byte, msg interface{}) error { buf := bytes.NewBuffer(b) typ := reflect2.TypeOf(msg) structType := typ.(*reflect2.UnsafeStructType)...
I fingure it out, it should be `reflect2.TypeOfPtr(msg).Elem()`
let a = [1, 2, 3] a[4] 并不可以
@zixun 我直接把你的Example里的 ``` let arr = NSArray() arr[10] ``` 改为 ``` let a = [1, 2, 3] a[4] ```
@gaoyuexit 真的吗?求分享,我signal试过不行
@gaoyuexit 那也就SIGTRAP能用啊 只能抓到 a non-optional type with a nil value a failed forced type conversion