Suppose you're building a system where you need to represent and manipulate raw binary data. Which data type would be most appropriate for this task?

  • binary
  • bit
  • byte (uint8)
  • uint16
The byte (uint8) data type is most appropriate for representing raw binary data in Go. It has a size of 8 bits, making it suitable for storing individual bytes of binary data and manipulating them effectively.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *