Skip to content

CV16MAIN/HexToBytes-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ HexToBytes — C++ Hex ↔ Byte Converter

A fast, lightweight terminal tool for converting Hex values and Bytes instantly.


🚀 Overview

HexToBytes is a simple yet powerful C++ terminal utility that converts:

✅ Hex values → Byte format ✅ Byte values → Hex format

Designed for developers, reverse engineers, learners, and anyone working with low-level data representation.


✨ Features

  • ⚡ Instant Hex ↔ Bytes conversion
  • 🎨 Colored terminal output (ANSI colors)
  • 🧠 Smart input handling using stringstream
  • 🔄 Continuous conversion loop
  • 💻 Lightweight & fast
  • 🧩 Beginner-friendly C++ project

📸 Preview


🛠️ Built With

  • C++
  • iostream
  • sstream
  • vector
  • string

📦 Installation

1️⃣ Clone Repository

git clone https://github.com/CV16MAIN/HexToBytes.git
cd HexToBytes

2️⃣ Compile

g++ main.cpp -o HexToBytes

3️⃣ Run

./HexToBytes

🧪 Usage

Convert Hex → Bytes

Input:
34 56 78

Output:
0x34 0x56 0x78

Convert Bytes → Hex

Input:
0x34 0x56 0x78

Output:
34 56 78

🧠 Learning Purpose

This project demonstrates:

  • Stream parsing with std::stringstream
  • Handling input buffers
  • Mixing cin and getline
  • Terminal UI styling
  • Real-world C++ CLI program structure

Perfect for beginners learning systems programming.


👨‍💻 Author

VoidMain GitHub → https://github.com/CV16MAIN


⭐ Support

If you like this project:

⭐ Star the repository 🍴 Fork it 🧠 Improve it


📜 License

Open-source — free to use and modify.

About

A fast and lightweight C++ CLI tool that converts Hex values ↔ Bytes with colored terminal output. Built using stringstream and smart input handling. Beginner-friendly systems programming project demonstrating real-world console application structure.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages