dump writes n bytes of the page to STDERR as hex output.
(n int)
| 168 | |
| 169 | // dump writes n bytes of the page to STDERR as hex output. |
| 170 | func (p *Page) hexdump(n int) { |
| 171 | buf := UnsafeByteSlice(unsafe.Pointer(p), 0, 0, n) |
| 172 | fmt.Fprintf(os.Stderr, "%x\n", buf) |
| 173 | } |
| 174 | |
| 175 | func (p *Page) PageElementSize() uintptr { |
| 176 | if p.IsLeafPage() { |