RemoveInputStreamMethod

RemoveInputStreamMethod["name"]
removes a custom input stream method.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Define a stream method that keeps a checksum of the file contents:

In[1]:=
Click for copyable input
Out[1]=

Check that the new input stream method is listed:

In[2]:=
Click for copyable input
Out[2]=
  • Remove it:
  • In[3]:=
    Click for copyable input

    This input stream method is no longer defined:

    In[4]:=
    Click for copyable input
    Out[4]=

    Confirm that a stream cannot be opened with this stream method now:

    In[5]:=
    Click for copyable input
    Out[5]=
    Introduced in 2012
    (9.0)