Open Instance Methodscinfu.swiftsoup 2.8.7SwiftSoup
appendCodePoint(_:)
StringBuilder.swift:70func appendCodePoint(_ ch: Int)
func appendCodePoint(_ ch: Int)
import SwiftSoup
class StringBuilder
Supports creation of a String from pieces Based on https://gist.github.com/kristopherjohnson/1fc55e811d944a430289
@frozen struct Int
A signed integer value type.
init(_ size: Int)
init(string: String? = nil)
Construct with initial String contents
var buffer: [UInt8]
var isEmpty: Bool { get }
var xlength: Int { get }
Return the current length of the String object
@discardableResult func append(_ string: String) -> StringBuilder
Append a String to the object
@discardableResult func append(_ value: [UInt8]) -> StringBuilder
@discardableResult func append(_ value: ArraySlice<UInt8>) -> StringBuilder
Append a Printable to the object
@discardableResult func append(_ value: UInt8) -> StringBuilder
@discardableResult func append(_ value: UnicodeScalar) -> StringBuilder
func append(_ chr: Character)
func appendCodePoint(_ ch: UnicodeScalar)
func appendCodePoints(_ chr: [Character])
func appendCodePoints(_ chr: [UnicodeScalar])
@discardableResult func appendLine(_ string: String) -> StringBuilder
Append a String and a newline to the object
@discardableResult func appendLine<T>(_ value: T) -> StringBuilder where T : CustomStringConvertible
Append a Printable and a newline to the object
@discardableResult func clear() -> StringBuilder
Reset the object to an empty string
func toString() -> String
Return the String object