MCPcopy Create free account
hub / github.com/djherbis/buffer / Read

Method Read

buffer_test.go:560–560  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

558func (b bigBuffer) Cap() int64 { return math.MaxInt64 }
559
560func (b bigBuffer) Read(p []byte) (int, error) { return 0, io.ErrUnexpectedEOF }
561
562func (b bigBuffer) Write(p []byte) (int, error) { return 0, io.ErrShortBuffer }
563

Callers 11

BufferAtTesterFunction · 0.45
TestRingComplexFunction · 0.45
TestRingFunction · 0.45
TestGobFunction · 0.45
TestSpillFunction · 0.45
TestSpill2Function · 0.45
TestNoSpillFunction · 0.45
TestFileFunction · 0.45
simpleFunction · 0.45
TestBadPartitionFunction · 0.45
TestPartitionAtFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected