About 9,040,000 results
Open links in new tab
  1. .net - What is a byte [] array? - Stack Overflow

    Jun 28, 2015 · 21 In .NET, a byte is basically a number from 0 to 255 (the numbers that can be represented by eight bits). So, a byte array is just an array of the numbers 0 - 255. At a lower …

  2. How do I initialize a byte array in Java? - Stack Overflow

    Jun 26, 2012 · I have to store some constant values (UUIDs) in byte array form in java, and I'm wondering what the best way to initialize those static arrays would be. This is how I'm currently …

  3. Why is the range of bytes -128 to 127 in Java? - Stack Overflow

    0 Without getting into two's complement: 2^8 (since a byte is 8 digits and can have 1 of 2 values) = 256, so the most individual values a byte can represent is 256. so, representing the numbers …

  4. c# - byte [] to hex string - Stack Overflow

    Mar 8, 2009 · How do I convert a byte[] to a string? Every time I attempt it, I get System.Byte[] instead of the value. Also, how do I get the value in Hex instead of a decimal?

  5. java - What do we mean by Byte array? - Stack Overflow

    Oct 26, 2010 · A byte is 8 bits (binary data). A byte array is an array of bytes (tautology FTW!). You could use a byte array to store a collection of binary data, for example, the contents of a …

  6. How to convert byte[] to Byte[] and the other way around?

    Oct 17, 2012 · How to convert byte[] to Byte[] and also Byte[] to byte[], in the case of not using any 3rd party library? Is there a way to do it fast just using the standard library?

  7. math - Converting bytes to megabytes - Stack Overflow

    I've seen three ways of doing conversion from bytes to megabytes: megabytes=bytes/1000000 megabytes=bytes/1024/1024 megabytes=bytes/1024/1000 Ok, I think #3 is totally wrong but I …

  8. How many characters can you store with 1 byte? - Stack Overflow

    Jan 23, 2014 · A byte is the smallest unit of data on a system. In general, 1 byte = 1 ASCII character. 2 bytes = 1 UTF-16 character. An unsigned byte can old the values 0-255.

  9. What is the difference between a string and a byte string?

    Jun 3, 2011 · A byte string can be directly stored to the disk directly, while a string (character string) cannot be directly stored on the disk. The mapping between them is an encoding.

  10. What's the difference between a word and byte? - Stack Overflow

    Oct 13, 2011 · The byte is the smallest addressable unit for a CPU. If you want to set/clear single bits, you first need to fetch the corresponding byte from memory, mess with the bits and then …