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

◆ ReceiveBitArray()

static BitArray Terraria.Utils.ReceiveBitArray ( int BitArrLength,
BinaryReader reader )
inlinestatic

Receives the result of SendBitArray, and returns the corresponding BitArray.

Definition at line 3234 of file Utils.cs.

3235 {
3236 byte[] receive = new byte[(BitArrLength - 1) / 8 + 1];
3237 receive = reader.ReadBytes(receive.Length);
3238 return new BitArray(receive);
3239 }

Referenced by Terraria.ModLoader.BiomeLoader.ReceiveCustomBiomes().

+ Here is the caller graph for this function: