Instance Methodscinfu.swiftsoup 2.8.7SwiftSoup
nameForCodepoint(_:)
Entities.swift:127func nameForCodepoint(_ codepoint: [UInt8]) -> [UInt8]?
func nameForCodepoint(_ codepoint: [UInt8]) -> [UInt8]?
s9SwiftSoup8EntitiesC10EscapeModeC16nameForCodepointySays5UInt8VGSgAIF
What are these?8U33C
import SwiftSoup
class EscapeMode
class Entities
HTML entities, and escape routines. Source: W3C HTML named character references.
@frozen struct UInt8
An 8-bit unsigned integer value type.
static let base: EscapeMode
Default HTML output entities.
static let extended: EscapeMode
Complete HTML entities.
static let xhtml: EscapeMode
Restricted entities suitable for XHTML output: lt, gt, amp, and quot only.
static func == (left: EscapeMode, right: EscapeMode) -> Bool
func codepointForName(_ name: String) -> UnicodeScalar?
func codepointForName(_ name: [UInt8]) -> UnicodeScalar?
func codepointForName(_ name: ArraySlice<UInt8>) -> UnicodeScalar?
func nameForCodepoint(_ codepoint: UnicodeScalar) -> String?