Motivation:
We were one of the few first-party users of
writeWithUnsafeMutableWritableBytes, and so we hit some build warnings.
We should use the nice interface to request the number of bytes we
actually want.
Modifications:
- Remove build warnings.
- Correctly ask to read a whole SSL record instead of a fragment of one.
Result:
Better code