iface

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CharacterFormatter added in v1.4.0

type CharacterFormatter interface {
	Format(b byte) string // Get the colorized representation
	SetPalette(map[uint8]clr.Color)
	EofStr() string // String if EOF has been reached. for lining output.
}

CharacterFormatter displays bytes in X format

type OffsetFormatter added in v1.4.0

type OffsetFormatter interface {
	FormatOffset(r ReadSeekerCloser) string
	SetFileSize(int64) // For leading zeros information
}

OffsetFormatter is interface for displaying file offset in X format (where X might be hex, decimal, octal, ..)

type ReadSeekerCloser

type ReadSeekerCloser interface {
	io.Reader
	io.Seeker
	io.Closer
}

Jump to

Keyboard shortcuts

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