Added buffered binary reader and writer.