What is a byte[] array?

前端 未结 6 1797
盖世英雄少女心
盖世英雄少女心 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:38

    Byte Array: An array which only has elements of Byte type. Byte: Positive integer number between 0 and 255, closed intervallum. A and B are two bytes.

    If C = A + B, then, mathematically, C = (A + B) modulo 256 If C = A - B, then, mathematically, C = (A - B) modulo 256

    So, you could consider (and sometimes use) your Byte Array of n elements as a number in the radix of 256, with n digits.

提交回复
热议问题