Ejemplo n.º 1
0
 internal void Finish()
 {
     SafeNativeMethods.StreamDecoderFinish(_handle);
 }
Ejemplo n.º 2
0
 internal DecoderState GetState()
 {
     return(SafeNativeMethods.StreamDecoderGetState(_handle));
 }
Ejemplo n.º 3
0
 internal bool ProcessSingle()
 {
     return(SafeNativeMethods.StreamDecoderProcessSingle(_handle));
 }
Ejemplo n.º 4
0
 internal bool ProcessMetadata()
 {
     return(SafeNativeMethods.StreamDecoderProcessMetadata(_handle));
 }
Ejemplo n.º 5
0
 internal DecoderInitStatus Initialize()
 {
     return(SafeNativeMethods.StreamDecoderInitialize(_handle, _readCallback, _seekCallback, _tellCallback,
                                                      _lengthCallback, _eofCallback, _writeCallback, _metadataCallback, _errorCallback, IntPtr.Zero));
 }
Ejemplo n.º 6
0
 internal void SetMetadataRespond(MetadataType type)
 {
     SafeNativeMethods.StreamDecoderSetMetadataRespond(_handle, type);
 }
 protected override bool ReleaseHandle()
 {
     SafeNativeMethods.StreamEncoderDelete(handle);
     return(true);
 }