Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteCountToHuman ¶
func ByteSliceToString ¶ added in v0.5.0
func EstimateCuckooFilter ¶ added in v0.5.0
func UnsafeGetBytes ¶ added in v0.5.0
Types ¶
type StreamHijacker ¶ added in v0.5.0
type StreamHijacker struct { Buffer []byte Offset int Upstream io.ReadCloser Size int OnClose func(*StreamHijacker) // contains filtered or unexported fields }
func NewStreamHijacker ¶ added in v0.5.0
func NewStreamHijacker(size int, fileType string, upstream io.ReadCloser) *StreamHijacker
func (*StreamHijacker) Close ¶ added in v0.5.0
func (s *StreamHijacker) Close() error
func (*StreamHijacker) FileType ¶ added in v0.5.0
func (s *StreamHijacker) FileType() string
Click to show internal directories.
Click to hide internal directories.