MCPcopy Create free account
hub / github.com/ethstorage/es-node / readInputBytes

Function readInputBytes

cmd/es-utils/main.go:225–236  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

223}
224
225func readInputBytes() []byte {
226 in := bufio.NewReader(os.Stdin)
227 b := make([]byte, 0)
228 for {
229 c, err := in.ReadByte()
230 if err == io.EOF {
231 break
232 }
233 b = append(b, c)
234 }
235 return b
236}
237
238func runChunkWrite(cmd *cobra.Command, args []string) {
239 setupLogger()

Callers 3

runChunkWriteFunction · 0.85
runShardWriteFunction · 0.85
runWriteBlobFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected