Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
build array for send it with tcp
SUBMITTED BY:
Thor2607
DATE:
Sept. 29, 2016, 3:10 a.m.
FORMAT:
C#
SIZE:
287 Bytes
Raw
Download
Tweet
HITS:
594
Go to comments
Report
public
static
byte
[]
sendBArray
(
byte
[]
buffer
)
{
byte
[]
b
=
new
Byte
[
buffer
.
Length
+
c
];
Buffer
.
BlockCopy
(
new
int
[]
{
buffer
.
Length
},
0
,
b
,
0
,
c
);
Buffer
.
BlockCopy
(
buffer
,
0
,
b
,
c
,
buffer
.
Length
);
return
b
;
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus