MCPcopy
hub / github.com/TarsCloud/TarsGo / bReadU8

Function bReadU8

tars/protocol/codec/codec.go:112–116  ·  view source on GitHub ↗

go:nosplit

(r *bytes.Reader, data *uint8)

Source from the content-addressed store, hash-verified

110
111//go:nosplit
112func bReadU8(r *bytes.Reader, data *uint8) error {
113 var err error
114 *data, err = r.ReadByte()
115 return err
116}
117
118//go:nosplit
119func bReadU16(r *bytes.Reader, data *uint16) error {

Callers 5

ReadInt8Method · 0.85
ReadInt16Method · 0.85
ReadInt32Method · 0.85
ReadInt64Method · 0.85
ReadStringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected