About 33,100,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 level, …

  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 doing …

  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 endian, or …

  4. byte and ambiguous symbol due to using declarations?

    Jul 16, 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.

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

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

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

  8. Is there 'byte' data type in C++? - Stack Overflow

    Aug 28, 2023 · 39 No there is no byte data type in C++. However you could always include the bitset header from the standard library and create a typedef for byte:

  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. java - Byte [] to InputStream or OutputStream - Stack Overflow

    Jan 19, 2010 · I have a blob column in my database table, for which I have to use byte[] in my Java program as a mapping and to use this data I have to convert it to InputStream or OutputStream. But I …