| 5 | ) |
| 6 | |
| 7 | type ReadWriter interface { |
| 8 | // Read calls Init with the page ids stored in the given page. |
| 9 | Read(page *common.Page) |
| 10 | |
| 11 | // Write writes the freelist into the given page. |
| 12 | Write(page *common.Page) |
| 13 | |
| 14 | // EstimatedWritePageSize returns the size in bytes of the freelist after serialization in Write. |
| 15 | // This should never underestimate the size. |
| 16 | EstimatedWritePageSize() int |
| 17 | } |
| 18 | |
| 19 | type Interface interface { |
| 20 | ReadWriter |
no outgoing calls
no test coverage detected