Data Queues: Read and write APIs

Use these APIs for writing to and reading from a data queue