Unbuffered mode for primitive reader and writer along with tests.