changed to using bytestring
added NC_BYTE read support