Class SerializedBundleFile
- Namespace
- AsmResolver.DotNet.Bundles
- Assembly
- AsmResolver.DotNet.dll
Represents a lazily initialized implementation of BundleFile that is read from an existing file.
public class SerializedBundleFile : BundleFile, IOwnedCollectionElement<BundleManifest>
- Inheritance
-
SerializedBundleFile
- Implements
- Inherited Members
Constructors
SerializedBundleFile(ref BinaryStreamReader, uint)
Reads a bundle file entry from the provided input stream.
public SerializedBundleFile(ref BinaryStreamReader reader, uint bundleVersionFormat)
Parameters
reader
BinaryStreamReaderThe input stream.
bundleVersionFormat
uintThe file format version of the bundle.
Methods
GetContents()
Obtains the raw contents of the file.
protected override ISegment GetContents()
Returns
- ISegment
The contents.
Remarks
This method is called upon initialization of the Contents property.