Ongeveer 24.900.000 resultaten
Koppelingen in nieuw tabblad openen
  1. .net - What is a byte [] array? - Stack Overflow

    28 jun. 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

    26 jun. 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. How to convert byte[] to Byte[] and the other way around?

    23 mrt. 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?

  5. 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 …

  6. 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 …

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

    26 okt. 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 file. …

  8. byte and ambiguous symbol due to using declarations?

    16 jul. 2017 · The program above has competing definitions of byte due to std::byte, CryptoPP::byte and the using namespace .... As I said, I know it leaves something to be desired.

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

    8 mrt. 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 a byte to its binary string representation

    7 sep. 2012 · Then, how to convert a byte greater than 127 to its binary string representation ?? Nothing prevents you from viewing a byte simply as 8-bits and interpret those bits as a value …