From 53680f3e5c3cefdbafbe46d86d9d6fae2c79daee Mon Sep 17 00:00:00 2001 From: Alex Barney Date: Thu, 20 Sep 2018 20:36:58 -0500 Subject: [PATCH] Add Stream overload to Ticket constructor --- LibHac/Ticket.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LibHac/Ticket.cs b/LibHac/Ticket.cs index f3167860..8fb4ac4a 100644 --- a/LibHac/Ticket.cs +++ b/LibHac/Ticket.cs @@ -34,6 +34,8 @@ namespace LibHac public Ticket() { } + public Ticket(Stream stream) : this(new BinaryReader(stream)) { } + public Ticket(BinaryReader reader) { var fileStart = reader.BaseStream.Position;