Add behavior to allow callbacks on partial reads and writes to the
buffers