protected byte[] ToByteArrayHex(bool isNull) { if (isNull) { return null; } return ReadByteArray(false); //means use BinHex }