read

fun read(name: String): 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

name

the entry's name.

Throws

if the entry does not exist.