internal void SetMetadataRespond(MetadataType type)
 {
     SafeNativeMethods.StreamDecoderSetMetadataRespond(Handle, type);
 }
Beispiel #2
0
 protected MetadataBlock(MetadataType metadataType)
 {
     Handle = SafeNativeMethods.MetadataObjectNew(metadataType);
 }
Beispiel #3
0
 internal bool ProcessSingle()
 {
     return(SafeNativeMethods.StreamDecoderProcessSingle(Handle));
 }
Beispiel #4
0
 internal void Write(bool usePadding) =>
 SafeNativeMethods.MetadataChainWriteWithCallbacks(_handle, usePadding, IntPtr.Zero, _callbacks);
Beispiel #5
0
 internal bool CheckIfTempFileNeeded(bool usePadding) =>
 SafeNativeMethods.MetadataChainCheckIfTempFileNeeded(_handle, usePadding);
Beispiel #6
0
 internal void Read() => SafeNativeMethods.MetadataChainReadWithCallbacks(_handle, IntPtr.Zero, _callbacks);
Beispiel #7
0
 internal bool ProcessSingle() => SafeNativeMethods.StreamDecoderProcessSingle(Handle);
 protected override bool ReleaseHandle()
 {
     SafeNativeMethods.StreamDecoderDelete(handle);
     return(true);
 }