null

package
v0.0.0-...-e943e14 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2017 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package null provides a null encoding for erasure.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Code

type Code int

Code satisfies erasure.Code, and splits the incoming stream into a number of shards. Code provides no redundancy.

func (Code) Decode

func (n Code) Decode(ps [][]byte) ([]byte, error)

func (Code) Encode

func (n Code) Encode(p []byte) ([][]byte, error)

func (Code) Shards

func (n Code) Shards() int

Jump to

Keyboard shortcuts

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