Bio.fromString constructor
Bio.fromString(
- OpenSslContext context,
- String text
Creates a BIO from a String (utf8).
Implementation
factory Bio.fromString(OpenSslContext context, String text) {
return Bio.fromBytes(context, Uint8List.fromList(text.codeUnits)); // Simple ASCII/UTF8
}