readNamed

fun readNamed(nameHash: Int): ByteBuf

Reads an entry.

This method allocates and returns a new ByteBuf. It is the caller's responsibility to release the ByteBuf.

Return

the contents of the entry.

Parameters

nameHash

the entry's name hash.

Throws

if the entry does not exist.