跳到主要内容
版本:1.5.x

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​
TypeName
YooAsset.DecryptFileInfofileInfo

LoadFromMemory(DecryptFileInfo)​

文件内存解密方法

View Source​
Declaration
byte[] LoadFromMemory(DecryptFileInfo fileInfo)
Returns​

System.Byte[]

Parameters​
TypeName
YooAsset.DecryptFileInfofileInfo

LoadFromStream(DecryptFileInfo)​

文件流解密方法

View Source​
Declaration
Stream LoadFromStream(DecryptFileInfo fileInfo)
Returns​

System.IO.Stream

Parameters​
TypeName
YooAsset.DecryptFileInfofileInfo

GetManagedReadBufferSize()​

文件流解密的托管缓存大小

View Source​
Declaration
uint GetManagedReadBufferSize()
Returns​

System.UInt32