diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..3fd8df8 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,7 @@ +Copyright 2017 itn3000 + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/PooledStream/PooledMemoryStream.cs b/PooledStream/PooledMemoryStream.cs index cf80a9c..83bb92d 100644 --- a/PooledStream/PooledMemoryStream.cs +++ b/PooledStream/PooledMemoryStream.cs @@ -6,7 +6,7 @@ namespace PooledStream public class PooledMemoryStream : Stream { /// create writable memory stream with default parameters - /// buffer is allocated from ArrayPool.Shared + /// buffer is allocated from ArrayPool.Shared public PooledMemoryStream() : this(ArrayPool.Shared) { diff --git a/PooledStream/PooledStream.csproj b/PooledStream/PooledStream.csproj index abafd10..f00f345 100644 --- a/PooledStream/PooledStream.csproj +++ b/PooledStream/PooledStream.csproj @@ -1,6 +1,15 @@ + netstandard1.1 + PooledStream + 0.0.1 + itn3000 + Efficient MemoryStream powered by System.Buffers.ArrayPool + false + First release + Copyright(c) 2017 itn3000. All rights reserved + MemoryStream diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..154c80b --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,14 @@ +version: 1.0.{build} +image: Visual Studio 2017 Preview +configuration: Release +before_build: +- cmd: dotnet restore +build: + verbosity: minimal +after_build: +- cmd: dotnet pack PooledStream -c Release --include-symbols +test_script: +- cmd: dotnet test PooledStream.Test\PooledStream.Test.csproj -c Release +artifacts: +- path: PooledStream\bin\Release\*.nupkg + name: NugetPackages \ No newline at end of file