K
K
kill942015-10-17 00:38:38
C++ / C#
kill94, 2015-10-17 00:38:38

How to divide text into bit blocks?

how to divide text into bit blocks, 64 bits in each block?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
EthPCI, 2015-10-17
@EthPCI

I mean how to share? Split the original string (text) into blocks of 8 bytes each, if necessary, if, for example, the last block of useful information is less than 8 bytes - supplement the rest with a character (byte) filler. As a result, you get the nth number of blocks, the total length of which is a multiple of 64 bits. Or what is the meaning of the question?

M
MrDywar Pichugin, 2015-10-18
@Dywar

I need to swap bits
[C#] How to set and read a single bit from a byte

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question