Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DropChar rune = -1
DropChar is simple negative value to indicate removing a char from a RuneMap
View Source
var SpaceChar rune = 0x20
SpaceChar is a code for a simple space
View Source
var XML10Charset = func(r rune) (inrange bool) {
return r == 0x09 ||
r == 0x0A ||
r == 0x0D ||
r >= 0x20 && r <= 0xDF77 ||
r >= 0xE000 && r <= 0xFFFD ||
r >= 0x10000 && r <= 0x10FFFF
}
IsInCharacterXML10 Decides whether the given rune is in the XML Character Range, per the Char production of http://www.xml.com/axml/testaxml.htm, Section 2.2 Characters. (lifted from https://golang.org/src/encoding/xml/xml.go)
Functions ¶
func NewReadCloser ¶
func NewReadCloser(rc io.ReadCloser, f RuneMap) io.ReadCloser
NewReadCloser ...
Types ¶
Click to show internal directories.
Click to hide internal directories.