Add Stream overload to Ticket constructor

This commit is contained in:
Alex Barney 2018-09-20 20:36:58 -05:00
parent e92c686d77
commit 53680f3e5c

View file

@ -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;