Added writeFull method to IOContext which allows to provide the number of bytes to write from the given byte array