HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to C# (Convert Byte Array to an Integer)

10,047 views October 29, 2019 6:29

Watch on YouTube
ChannelHackd Bytes

Description from the creator

This example shows you how to use the BitConverter class to convert an array of bytes to an int and back to an array of bytes. You may have to convert from bytes to a built-in data type after you read bytes off the network, for example. In addition to the ToInt32(Byte[], Int32) method in the example, the following table lists methods in the BitConverter class that convert bytes (from an array of bytes) to other built-in types.

About this tutorial

Hackd Bytes published this 6:29 video tutorial on October 29, 2019. It has been watched 10,047 times on YouTube.

Duration
6:29
Published
October 29, 2019
Views
10,047
Likes
42

Tags

Share

This tutorial in other languages