FileBucket.put

Write a serialized block of data, and associate it with the provided key. All keys must be unique, and it is the responsibility of the programmer to ensure this. Reusing an existing key will overwrite previous data.

Note that data is allowed to grow within the occupied bucket until it becomes larger than the allocated space. When this happens, the data is moved to a larger bucket at the file tail.

class FileBucket
void
put
(
const(char)[] key
,
const(char)[] data
)

Meta