HaloMap.RawData.ParsedBitmap.genPadding C# (CSharp) Method

genPadding() private static method

The gen padding.
private static genPadding ( int amount, byte type ) : byte[]
amount int The amount.
type byte The type.
return byte[]
        private static byte[] genPadding(int amount, byte type)
        {
            byte[] padding = new byte[amount];
            for (int i = 0; i < amount; i++)
            {
                padding[i] = type;
            }

            return padding;
        }