What is a byte[] array?

前端 未结 6 1825
盖世英雄少女心
盖世英雄少女心 2021-02-13 11:49

What is a byte array is in the context of .NET framework?

I am familiar with standard definitions like array and byte and very fam

6条回答
  •  南笙
    南笙 (楼主)
    2021-02-13 12:52

    In .NET, a byte is basically a number from 0 to 255 (the numbers that can be represented by eight bits).

    So, a byte array is just an array of the numbers 0 - 255.

    At a lower level, an array is a contiguous block of memory, and a byte array is just a representation of that memory in 8-bit chunks.

提交回复
热议问题