עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

האם יש דרך לקרוא כל קובץ כקובץ בינארי שמורכב רק מ-0,1?

Featured Replies

פורסם

לפי מיטב הבנתי כל קובץ בבסיסו מורכב מהרבה -0,1. האם יש דרך לקרוא את הקבצים ככה?

יש עדיפות ל- C#. אבל אם אתם מכירים דרכים בשפות אחרות אני גם אשמח ואמצא איך להסתדר איתן.

(כבר ניסיתי BinaryReader ב- C# וזה לא ממש עזר, הוא נתן לי את האותיות או את הערכים שלהם בAscii כשניסיתי לקרוא אותם דרכו)

תודה!

פורסם

מה הכוונה לקרוא ככה? להכניס כל קובץ ולקבל כפלט את הרצף של ה1\0ים?

פורסם

BinaryReader זה בדיוק מה שאתה צריך. אי אפשר לקרוא באמצעותו ביטים בודדים (אם תחשוב על זה, אין כמעט פונקציות שמתייחסות לביטים בודדים). אתה אמור לקרוא באמצעותו מספרים - integer,byte וכו', ולעבד אותם.

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.