Interface IDecryptionServices
解密类服务接口
Assembly: YooAsset.dll
View Source
Declaration
public interface IDecryptionServices
Methods
LoadFromFileOffset(DecryptFileInfo)
文件偏移解密方法
View Source
Declaration
ulong LoadFromFileOffset(DecryptFileInfo fileInfo)
Returns
System.UInt64
Parameters
Type | Name |
---|---|
YooAsset.DecryptFileInfo | fileInfo |
LoadFromMemory(DecryptFileInfo)
文件内存解密方法
View Source
Declaration
byte[] LoadFromMemory(DecryptFileInfo fileInfo)
Returns
System.Byte[]
Parameters
Type | Name |
---|---|
YooAsset.DecryptFileInfo | fileInfo |
LoadFromStream(DecryptFileInfo)
文件流解密方法
View Source
Declaration
Stream LoadFromStream(DecryptFileInfo fileInfo)
Returns
System.IO.Stream
Parameters
Type | Name |
---|---|
YooAsset.DecryptFileInfo | fileInfo |
GetManagedReadBufferSize()
文件流解密的托管缓存大小
View Source
Declaration
uint GetManagedReadBufferSize()
Returns
System.UInt32