piecewriter

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PieceWriter

type PieceWriter struct {
	Piece  *piece.Piece
	Buffer []byte
	Lenght uint32
	Error  error
	// contains filtered or unexported fields
}

func New

func New(p *piece.Piece, buf []byte, length uint32) *PieceWriter

func (*PieceWriter) Close

func (w *PieceWriter) Close()

func (*PieceWriter) Run

func (w *PieceWriter) Run(resultC chan *PieceWriter)

Jump to

Keyboard shortcuts

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