mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-14 12:19:08 +00:00
Included epub library in plugin project
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace VersOne.Epub
|
||||
{
|
||||
public class EpubByteContentFileRef : EpubContentFileRef
|
||||
{
|
||||
public EpubByteContentFileRef(EpubBookRef epubBookRef)
|
||||
: base(epubBookRef)
|
||||
{
|
||||
}
|
||||
|
||||
public byte[] ReadContent()
|
||||
{
|
||||
return ReadContentAsBytes();
|
||||
}
|
||||
|
||||
public Task<byte[]> ReadContentAsync()
|
||||
{
|
||||
return ReadContentAsBytesAsync();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user