using System; int msg_len = 1000; byte[] a = new byte[4]; a = BitConverter.GetBytes(msg_len);
'Study > C#' 카테고리의 다른 글
[C#] 숫자를 문자열로 표현할때 임의의 포맷으로 넣기 (0) | 2014.02.19 |
---|---|
[C#] Combine Byte Array - 바이트 배열 합치기 (0) | 2014.02.19 |
[C#] int to byte[] (0) | 2014.02.19 |
Trackback 0 And
Comment 0