Documentation ¶
Index ¶
- func FormatToken(t Token) (int, []int, int)
- func RTFEncode(dec *Decoder, w io.Writer) error
- func TextEncode(dec *Decoder, w io.Writer) error
- func WWLString(s string) string
- func WangWorldLanguages(char byte) rune
- type Decoder
- type EncodeFn
- type File
- type Reader
- func (r *Reader) DumpEncoded(path string, ext string, fn EncodeFn) error
- func (r *Reader) DumpFiles(path string) error
- func (r *Reader) DumpRTF(path string) error
- func (r *Reader) DumpSectors(path string) error
- func (r *Reader) DumpText(path string) error
- func (r *Reader) WriteFile(path string) error
- type Token
- type TokenType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatToken ¶
Tage a page or format token and return line spacing, indents and line length
func WangWorldLanguages ¶
WangWorldLanguages converts a character in the Wang World Lanaguages Character Set to a UTF-8 rune
Types ¶
type File ¶
type File struct { DocID tag ArchiveID string Name string Comment string Author string Operator string Created time.Time Modified time.Time // contains filtered or unexported fields }
func (*File) SanitizedName ¶
type Reader ¶
type Reader struct { Files []*File // contains filtered or unexported fields }
Reader provides sequential access to a Wang disk image
func (*Reader) DumpEncoded ¶
func (*Reader) DumpSectors ¶
DumpSectors checks all 256 byte sectors in the file for tags Then dumps all 256 byte sectors for each tag.
Click to show internal directories.
Click to hide internal directories.