prepareWriteHead

fun prepareWriteHead(n: Int): ChunkBuffer