chunked

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileReader added in v0.10.0

type FileReader struct {
	// contains filtered or unexported fields
}

func Open added in v0.10.0

func Open(baseDir, baseFileName string) (*FileReader, error)

func (*FileReader) Close added in v0.10.0

func (f *FileReader) Close() error

func (*FileReader) Read added in v0.10.0

func (f *FileReader) Read(p []byte) (n int, err error)

type FileWriter

type FileWriter struct {
	// contains filtered or unexported fields
}

func NewChunkedFileWriter

func NewChunkedFileWriter(chunkSize int64, dirPath, baseFileName string) *FileWriter

func (*FileWriter) Close

func (c *FileWriter) Close() error

func (*FileWriter) Write

func (c *FileWriter) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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