Documentation ¶
Index ¶
- Constants
- func DatFileFooter() []byte
- func DatFileHeader(file string) []byte
- func DecodeBlock(rows []string) ([]byte, error)
- func DecodeLine(s string) ([]byte, error)
- func Encode(data []byte, filename, mode string) ([]byte, error)
- func EncodeBlock(data []byte) ([]byte, error)
- func NewDatFile(dir, fileName string) (*os.File, error)
- type Arena
- type Decoded
- type Map
- type Option
- type Reader
Constants ¶
View Source
const ( DataStartIndex = 23 // file: begin 0755 default.dat\n<data>\nend\n DataEndIndex = -3 )
View Source
const ( Read = syscall.PROT_READ Write = syscall.PROT_WRITE Exec = syscall.PROT_EXEC )
Variables ¶
This section is empty.
Functions ¶
func DatFileFooter ¶
func DatFileFooter() []byte
func DatFileHeader ¶
func DecodeBlock ¶
DecodeBlock decodes a uuencoded text block
func DecodeLine ¶
DecodeLine decodes a single line of uuencoded text
func EncodeBlock ¶
EncodeBlock encodes data in raw uuencoded format
Types ¶
type Map ¶
Click to show internal directories.
Click to hide internal directories.