String
internal extension String
An extension to String that adds initializer from a BIO buffer pointer from OpenSSL.
-
Initialize a
Stringfrom data read from an OpenSSLBIOobject.Important
If the
BIOobject does not contain valid data or reading it fails, this initializer will result in a fatal error.Declaration
Swift
init(bio: OpaquePointer)Parameters
bioAn
OpaquePointerrepresenting the OpenSSLBIOobject to read data from.
View on GitHub
String Extension Reference