Npgsql.NpgsqlCopySerializer.AddBytes C# (CSharp) Method

AddBytes() protected method

Add bytes.
protected AddBytes ( byte bytes ) : void
bytes byte
return void
        protected void AddBytes(byte[] bytes)
        {
            MakeRoomForBytes(bytes.Length);

            for (int i = 0; i < bytes.Length; i++)
            {
                _sendBuffer[_sendBufferAt++] = bytes[i];
            }
        }