Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleJoiner ¶
type SimpleJoiner struct {
// contains filtered or unexported fields
}
func NewSimpleJoiner ¶
func NewSimpleJoiner(ctx context.Context, getter storage.Getter, address swarm.Address) (*SimpleJoiner, int64, error)
NewSimpleJoiner creates a new SimpleJoiner.
func (*SimpleJoiner) Read ¶
func (j *SimpleJoiner) Read(b []byte) (n int, err error)
Read is called by the consumer to retrieve the joined data. It must be called with a buffer equal to the maximum chunk size.
func (*SimpleJoiner) ReadAt ¶
func (j *SimpleJoiner) ReadAt(b []byte, off int64) (read int, err error)
func (*SimpleJoiner) Size ¶
func (j *SimpleJoiner) Size() (int64, error)
Click to show internal directories.
Click to hide internal directories.