code: public void writeBinaryString(byte[] data) throws IOException {
  		if (data == null)
  			writeInt(0);
  		else
  			writeBinaryString(data, 0, data.length);
  	}
docs: Write a binary string to the array.
  
  @param data
  @throws IOException