mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-11 09:49:07 +00:00
Added EPUB plugin
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