Documentation ¶
Index ¶
- func Bytes(b Blob) ([]byte, error)
- func Error(b Blob) error
- func LineIter(b Blob) rx.Iter[string]
- func Peek(b Blob, n int) ([]byte, error)
- func ReadAt(p []byte, b Blob, n int64) (int, error)
- func ReadLines(b Blob, fn func(string) error) error
- func String(b Blob) (string, error)
- func Unmarshal(fn UnmarshalFunc, b Blob, v any) error
- func Use(b Blob, fn func(io.Reader) error) error
- func WriteTo(w io.Writer, b Blob) error
- type Blob
- type ByteFunc
- type BytesReader
- type Deleter
- type Func
- type Getter
- type Iterator
- type MarshalFunc
- type RefBlob
- type Setter
- type SortedStorage
- type Storage
- type UnmarshalFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Blob ¶
type Blob interface{ Open() (io.ReadCloser, error) }
func FromReader ¶
func FromString ¶
func Marshal ¶
func Marshal(fn MarshalFunc, v any) Blob
type BytesReader ¶
type BytesReader interface { io.ReadCloser Bytes() []byte }
type Func ¶
type Func func() (io.ReadCloser, error)
type MarshalFunc ¶
type SortedStorage ¶
type UnmarshalFunc ¶
Click to show internal directories.
Click to hide internal directories.