Add extension to convert objects of type Data to instances of NSMutableData

This process is necessary because of an issue (https://github.com/golang/go/issues/33745) in gomobile. Passing bare Data objects to Go functions leads to nondeterministic behavior.
This commit is contained in:
Danny Moesch 2019-09-08 12:47:10 +02:00 committed by Mingshen Sun
parent bfeb39f510
commit 4c3aa4938d
2 changed files with 23 additions and 0 deletions