bin2paper

package module
v0.0.0-...-5ea82f3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2019 License: MIT Imports: 13 Imported by: 0

README

bin2paper

Two tools for encoding binary data into text/paper: bin2txt and bin2pdf

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinFromTxt

func BinFromTxt(input_path string, output_path string) error

func ReadLine

func ReadLine(input io.Reader) (string, error)

func TXTFromFile

func TXTFromFile(input_path string, output_path string) error

func ToB64

func ToB64(src []byte) (dst []byte)

func ToB64str

func ToB64str(src []byte) string

func ToHex

func ToHex(src []byte) string

Types

type BinDecoder

type BinDecoder struct {
	Filename string
	Hash     string
	Input    io.ReadSeeker
	Output   io.StringWriter
	// contains filtered or unexported fields
}

func (*BinDecoder) GetBasics

func (this *BinDecoder) GetBasics() error

type TxtEncoder

type TxtEncoder struct {
	Filename string
	Width    int
	Height   int
	Input    io.ReadSeeker
	Output   io.StringWriter
	// contains filtered or unexported fields
}

func (*TxtEncoder) Encode

func (this *TxtEncoder) Encode() error

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL