Questions tagged [byte]
The byte tag has no summary.
12 questions
3
votes
3
answers
163
views
Get histogram of bytes in any set of files in Java - take III
(This post is the continuation of Get histogram of bytes in any set of files in Java - take II.)
This time my code looks like as follows:
...
4
votes
1
answer
172
views
Get histogram of bytes in any set of files in Java - take II
Intro
This post is the continuation of Get histogram of bytes in any set of files in Java. This time, I have incorporated all (?) the suggestions provided by Alexander Ivanchenko.
The entire ...
3
votes
1
answer
192
views
Get histogram of bytes in any set of files in Java
Intro
(This post has a continuation at Get histogram of bytes in any set of files in Java - take II.)
This time I decided to rewrite the byte histogram counters in C++ [1][2][3] to Java. Usage is the ...
0
votes
1
answer
41
views
Mangle words to bytearray of lo/hibytes
I would like to refactor the following code snippet adapted from a project I'm involved. It is part of a code to control power outlets via network. The code snippet was written by myself based on the ...
6
votes
1
answer
241
views
General bytes to number converter (c++)
I've written a bytes to number converter for cpp similar to the python int.from_bytes.
It does not make any assumptions on:
The endianness of the input buffer
The ...
1
vote
1
answer
3k
views
Best way to convert the string with Byte sequence to Byte Array
We had a string with byte array (hexadecimal) sequence, like: ...
2
votes
1
answer
383
views
Base64 encoder in Assembly x86-64 Linux language
We were asked to create a Base64 encoder for Assembly x86-64 on Linux. Was wondering how my code below could be improved, be it notation or anything else. We only had Assembly for 3 months so I'm not ...
3
votes
1
answer
341
views
Multiplayer game byte array serializer with unity
I I'm trying to make an multiplayer game using golang and unity. Golang server side checking units on scene(like a character move). It also sends the information (position, health) of the units on ...
1
vote
1
answer
263
views
Safely and Quickly Trim a Byte Array of Audio in Java
I'm trying to take a raw byte array of audio and trim it.
The user selects a start and end value using a range slider.
...
1
vote
1
answer
1k
views
Byte array comparison - efficiency
I have a TCP Listener with NetworkStream that reads 530 bytes from the Client once a second.
Within the TCP Listener ...
2
votes
1
answer
2k
views
C++: swapping bytes of an uint64_t
This question is about swapping bytes of an uint64_t value, or in other words, about converting between endianness of an integer value:
...
4
votes
1
answer
125
views
Command-line English Hangman game
Introduction
As a Python neophyte, I implemented the Hangman game as a practice, which operates case-insensitively on the 26 English letters.
My biggest concern at the moment is my use of ...