Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Edgio/vflow
/ NewReader
Function
NewReader
reader/reader.go:40–44 ·
view source on GitHub ↗
NewReader constructs a reader
(b []byte)
Source
from the content-addressed store, hash-verified
38
39
// NewReader constructs a reader
40
func
NewReader(b []byte) *Reader {
41
return
&Reader{
42
data: b,
43
}
44
}
45
46
// Uint8 reads a byte
47
func
(r *Reader) Uint8() (uint8, error) {
Callers
9
NewDecoder
Function · 0.92
NewDecoder
Function · 0.92
NewDecoder
Function · 0.92
TestUint8
Function · 0.85
TestUint16
Function · 0.85
TestUint32
Function · 0.85
TestUint64
Function · 0.85
TestReadN
Function · 0.85
TestReadCount
Function · 0.85
Calls
no outgoing calls
Tested by
6
TestUint8
Function · 0.68
TestUint16
Function · 0.68
TestUint32
Function · 0.68
TestUint64
Function · 0.68
TestReadN
Function · 0.68
TestReadCount
Function · 0.68