mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Add Stream overload to Ticket constructor
This commit is contained in:
parent
e92c686d77
commit
53680f3e5c
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,8 @@ namespace LibHac
|
||||||
|
|
||||||
public Ticket() { }
|
public Ticket() { }
|
||||||
|
|
||||||
|
public Ticket(Stream stream) : this(new BinaryReader(stream)) { }
|
||||||
|
|
||||||
public Ticket(BinaryReader reader)
|
public Ticket(BinaryReader reader)
|
||||||
{
|
{
|
||||||
var fileStart = reader.BaseStream.Position;
|
var fileStart = reader.BaseStream.Position;
|
||||||
|
|
Loading…
Reference in a new issue