Added binary read/write methods.

Signed-off-by: retep998 <retep998@verizon.net>