MCPcopy Create free account
hub / github.com/encodeous/nylon / fakeTUNDeviceSized

Struct fakeTUNDeviceSized

polyamide/device/device_test.go:435–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433func (b *fakeBindSized) BatchSize() int { return b.size }
434
435type fakeTUNDeviceSized struct {
436 size int
437}
438
439func (t *fakeTUNDeviceSized) File() *os.File { return nil }
440func (t *fakeTUNDeviceSized) Read(bufs [][]byte, sizes []int, offset int) (n int, err error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected