Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Consume() [3/3]

static byte[] Interop.BCrypt.Consume ( byte[] blob,
ref int offset,
int count )
inlinestaticpackage

Definition at line 488 of file Interop.cs.

489 {
490 byte[] array = new byte[count];
491 Buffer.BlockCopy(blob, offset, array, 0, count);
492 offset += count;
493 return array;
494 }
static void BlockCopy(Array src, int srcOffset, Array dst, int dstOffset, int count)
Definition Buffer.cs:102

References System.array, System.Buffer.BlockCopy(), System.count, and System.offset.