public static byte[] ReadRemaining(this IReadBytes reader)
 {
     using (var ms = new MemoryStream()) {
         reader.CopyTo(ms.AsIWriteBytes());
         return(ms.ToArray());
     }
 }