Top "Byte" questions

A unit of information usually corresponding to 8 bits.

Hashing with SHA1 Algorithm in C#

I want to hash given byte[] array with using SHA1 Algorithm with the use of SHA1Managed. The byte[] hash …

c# hash byte sha1 hashcode
How to know the size of the string in bytes?

I'm wondering if I can know how long in bytes for a string in C#, anyone know?

c# .net string size byte
Java - Convert int to Byte Array of 4 Bytes?

Possible Duplicate: Convert integer into byte array (Java) I need to store the length of a buffer, in a byte …

java byte buffer
How to convert byte[] to InputStream?

Possible Duplicate: Can we convert a byte array into an InputStream in Java? There is a way to convert an …

java byte inputstream
Does .NET provide an easy way convert bytes to KB, MB, GB, etc.?

Just wondering if .NET provides a clean way to do this: int64 x = 1000000; string y = null; if (x / 1024 == 0) { y = x + " …

c# .net byte megabyte
How to convert from []byte to int in Go Programming

I need to create a client-server example over TCP. In the client side I read 2 numbers and I send them …

tcp client-server byte type-conversion go
How to Convert unsigned char* to std::string in C++?

I have unsigned char*, want to convert it to std::string. Can you please tell me the safest way to …

c++ bytearray byte
Byte Array to Image object

I am given a byte[] array in Java which contains the bytes for an image, and I need to output …

java arrays image byte
Char array to hex string C++

I searched char* to hex string before but implementation I found adds some non-existent garbage at the end of hex …

c++ hex buffer byte
Convert a String to a byte array and then back to the original String

Is it possible to convert a string to byte array and then convert it back to the original string in …

java android byte hash arduino