datalink

package
v0.0.0-debug-20260702 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseDatalink(fsPath string, proc *process.Process) (string, []int64, error)

ParseDatalink extracts data from a Datalink string and returns the Mo FS url, []int{offset,size}, fileType and error Mo FS url: The URL that is used by MO FS to access the file offsetSize: The offset and size of the file to be read

Types

type Datalink struct {
	Url    *url.URL
	Offset int64
	Size   int64
	MoPath string
}
func NewDatalink(aurl string, proc *process.Process) (Datalink, error)

func (Datalink) GetBytes

func (d Datalink) GetBytes(proc *process.Process) ([]byte, error)

func (Datalink) GetPlainText

func (d Datalink) GetPlainText(proc *process.Process) ([]byte, error)

func (Datalink) NewReadCloser

func (d Datalink) NewReadCloser(proc *process.Process) (io.ReadCloser, error)

func (Datalink) NewWriter

func (d Datalink) NewWriter(proc *process.Process) (*fileservice.FileServiceWriter, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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