Top "Byte" questions

A unit of information usually corresponding to 8 bits.

Java: Convert String to packed decimal

new here! Situation: I'm working on a project which needs to communicate with an AS/400 server. My task is to …

java byte ascii ibm-midrange ebcdic
What does B stand for in MB/GB, bit or byte?

In PC properties (i.e. My Computer -> Properties), what does B stand for in MB or GB. Does …

byte bit
How to calculate bitmap file size?

How to find size in byte of 50 x 50 RGB color image? If the above image saved in BMP file with 54 …

image bitmap byte bmp
Cannot use (type []byte) as type io.Reader

I don't understand the error, this is my main.go that I execute in the machine "A": package main import ( "…

go io byte reader
Transferring ByteArray through Parcel returns NullPointerException

import android.os.Parcel; import android.os.Parcelable; public class MClass implements Parcelable { private byte[] _byte; public MClass() { } public MClass(…

android byte parcelable
Why does the xor operator on two bytes produce an int?

//key & hash are both byte[] int leftPos = 0, rightPos = 31; while(leftPos < 16) { //possible loss of precision. required: byte, found: int …

java casting byte numeric xor
pass by reference without the ref keyword

I'm not a veteran in socket programming, so while analyzing code I found in a database API I came across …

c# sockets pass-by-reference byte reference-type
Is there any reason not to use fixed width integer types (e.g. uint8_t)?

Assuming you're using a compiler that supports C99 (or even just stdint.h), is there any reason not to use …

c integer byte sizeof c99
convert from short to byte and viceversa in Java

I'm trying to convert a short into 2 bytes...and then from those 2 bytes try to get the same short value. …

java byte typeconverter short
MVC3 - posting byte array to a controller - Database RowVersion

I am working on an MVC3 application. My client side ViewModel contains a SQL Server RowVersion property, which is a …

asp.net-mvc serialization razor byte rowversion