A .NET Standard wrapper around the PhysFS IO library
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cosmonaut efec550df0
continuous-integration/drone/push Build is passing Details
Merge branch 'readme_fix' of MoonsideGames/MoonTools.NETPhysFS into master
3 years ago
.vscode updating for latest PhysFS 3 years ago
NETPhysFS more housekeeping 3 years ago
UnitTests fix sln and csproj references 3 years ago
.drone.yml remove deploy step 3 years ago
.editorconfig Added .editorconfig 6 years ago
.gitattributes Initial commit to add default .gitIgnore and .gitAttribute files. 7 years ago
.gitignore add droneCI config 3 years ago
CHANGELOG.md Updated license to 2017 6 years ago
LICENSE license 3 years ago
NETPhysFS.sln fix sln and csproj references 3 years ago
README.md updated README 3 years ago



Build Status

PhysFS wrapper for .NET Standard

This library is a .NET Standard wrapper around the cross-platform IO libary PhysFS. It provides IEnumerable iterators to avoid creating garbage, and a Stream subclass for easy usage.


You can use this library by adding it as a submodule and then referencing it in your .csproj file.

  git submodule add https://gitea.moonside.games/MoonsideGames/MoonTools.NETPhysFS.git

You must also include a compiled binary of PhysFS for your platform for this to work properly.


using var pfs = new PhysFS(""); // automatic dispose pattern
using (var reader = new StreamReader(pfs.OpenRead("/helloworld.txt")))
  var contents = reader.ReadToEnd();


This project was forked from the very helpful SharpPhysFS by Francesco Bertolaccini.