'Declaration Public Shared Function ReadPPMdZipHeader( _ ByVal stream As Stream, _ ByRef allocatorSize As Integer, _ ByRef modelOrder As Byte, _ ByRef method As ModelRestorationMethod _ ) As Boolean
'Usage Dim stream As Stream Dim allocatorSize As Integer Dim modelOrder As Byte Dim method As ModelRestorationMethod Dim value As Boolean value = ManagedPPMdDecompressor.ReadPPMdZipHeader(stream, allocatorSize, modelOrder, method)
public static bool ReadPPMdZipHeader( Stream stream, out int allocatorSize, out byte modelOrder, out ModelRestorationMethod method )
Parameters
- stream
- The stream the header will be read from.
- allocatorSize
- The allocator size.
- modelOrder
- The maximum model order.
- method
- Method of model restoration if memory is insufficient.
Return Value
true if not at the end of the stream; false otherwise.