System.Windows.Forms.DynamicByteProvider.InsertBytes C# (CSharp) Method

InsertBytes() public method

Inserts byte into the byte collection.
public InsertBytes ( long index, byte bs ) : void
index long the start index of the bytes in the byte collection
bs byte the byte array to insert
return void
        public void InsertBytes(long index, byte[] bs)
        {
            _bytes.InsertRange((int)index, bs);

            OnLengthChanged(EventArgs.Empty);
            OnChanged(EventArgs.Empty);
        }