About 20,900,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. Can endianness refer to the order of bits in a byte?

    Endianness and byte order When a value larger than byte is stored or serialized into multiple bytes, the choice of the order in which the component bytes are stored is called byte order, or …

  4. Convert integer into byte array (Java) - Stack Overflow

    Dec 20, 2009 · what's a fast way to convert an Integer into a Byte Array? e.g. 0xAABBCCDD => {AA, BB, CC, DD}

  5. Byte Array and Int conversion in Java - Stack Overflow

    Mar 23, 2011 · encodedValue[1] = (byte) (value >> Byte.SIZE); encodedValue[0] = (byte) value; return encodedValue; } Just reverse the byte array index to count from zero to three to create …

  6. Java Byte Array to String to Byte Array - Stack Overflow

    To convert your response string back to the original byte array, you have to use split(",") or something and convert it into a collection and then convert each individual item in there to a …

  7. Converting string to byte array in C# - Stack Overflow

    Apr 18, 2013 · If you already have a byte array then you will need to know what type of encoding was used to make it into that byte array. For example, if the byte array was created like this:

  8. c# - Why does byte + byte = int? - Stack Overflow

    byte z = (byte)(x + y); // this works What I am wondering is why? Is it architectural? Philosophical? We have: int + int = int long + long = long float + float = float double + double = double So why …

  9. 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?

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

    Mar 23, 2020 · 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?