MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / readInline

Function readInline

IceFireDB-PubSub/test/proto/proto.go:109–114  ·  view source on GitHub ↗
(b string)

Source from the content-addressed store, hash-verified

107}
108
109func readInline(b string) (string, error) {
110 if len(b) < 3 {
111 return "", ErrUnexpected
112 }
113 return b[1 : len(b)-2], nil
114}
115
116func ReadError(b string) (string, error) {
117 if len(b) < 1 {

Callers 2

ReadErrorFunction · 0.70
ParseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected