Extension (Structure)swift-nio 2.74.0all tags
String (ext)
You’re viewing third-party extensions to String
, a struct from the Swift standard library.
You can also read the documentation forString
itself.
extension String
Extension in _NIOBase64
Type members
init<Buffer>(base64Encoding: Buffer
) Base64 encode a collection of UInt8 to a string, without the use of Foundation.
Instance members
Extension in NIOCore
Type members
init(buffer: ByteBuffer
) Creates a
String
from a givenByteBuffer
. The entire readable portion of the buffer will be read.
Extension in _NIOFileSystem
Instance members
func write(toFileAt: FilePath, absoluteOffset: Int64, options: OpenOptions.Write
) async throws -> Int64 Writes the UTF8 encoded
String
to a file.func write(toFileAt: FilePath, absoluteOffset: Int64, options: OpenOptions.Write, fileSystem: some FileSystemProtocol
) async throws -> Int64 Writes the UTF8 encoded
String
to a file.