Updated README
parent
1bcbac8de8
commit
1454721b8c
13
README.md
13
README.md
|
@ -23,6 +23,19 @@ or by adding it as a reference using NuGet:
|
||||||
|
|
||||||
Install-Package SharpPhysFS
|
Install-Package SharpPhysFS
|
||||||
|
|
||||||
|
You should also include compiled shared library of physfs alongside your binary files to be loaded.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
````c#
|
||||||
|
using(var pfs = new PhysFS("")) // This ensures correct initialization and deinitialization
|
||||||
|
using(var stream = pfs.OpenRead("/helloworld.txt"))
|
||||||
|
{
|
||||||
|
var reader = new StreamReader(stream);
|
||||||
|
var contents = reader.ReadToEnd();
|
||||||
|
}
|
||||||
|
````
|
||||||
|
|
||||||
## Support on Beerpay
|
## Support on Beerpay
|
||||||
Hey dude! Help me out for a couple of :beers:!
|
Hey dude! Help me out for a couple of :beers:!
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue