<?xml version="1.0" encoding="utf-8"?>
<!--

    This file is

    Copyright 2007,2008,2009,2010 Rustici Software, LLC
    Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)

-->
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
  <Imports>
    <Import>java.io.InputStream</Import>
  </Imports>
  <Java>InputStream</Java>
  <Name>System.IO.Stream</Name>
  <Uses />
  <Inherits>
    <Type>System.IO.IDisposable</Type>
  </Inherits>
  <Methods>
    <Method>
      <Imports />
      <Java>${this:16}.close()</Java>
      <Params />
      <Name>Close</Name>
      <Return>System.Void</Return>
    </Method>
    <Method>
      <Imports />
      <Java>${this:16}.read(${buffer},${offset},${count})</Java>
      <Params>
        <Param>
          <Type>System.Byte[]</Type>
          <Name>buffer</Name>
        </Param>
        <Param>
          <Type>System.Int32</Type>
          <Name>offset</Name>
        </Param>
        <Param>
          <Type>System.Int32</Type>
          <Name>count</Name>
        </Param>
      </Params>
      <Name>Read</Name>
      <Return>System.Int32</Return>
    </Method>
    <Method>
      <Imports />
      <Java>${this:16}.write(${buffer},${offset},${count})</Java>
      <Params>
        <Param>
          <Type>System.Byte[]</Type>
          <Name>buffer</Name>
        </Param>
        <Param>
          <Type>System.Int32</Type>
          <Name>offset</Name>
        </Param>
        <Param>
          <Type>System.Int32</Type>
          <Name>count</Name>
        </Param>
      </Params>
      <Name>Write</Name>
      <Return>System.Void</Return>
    </Method>
  </Methods>
  <Properties>
    <Property>
      <Imports>
        <Import>CS2JNet.JavaSupport.Unsupported</Import>
      </Imports>
      <Java>Unsupported.throwUnsupported("${this:16}.Position")</Java>
      <Type>System.Int64</Type>
      <Name>Position</Name>
      <Get>Unsupported.throwUnsupported("${this:16}.Position")</Get>
      <Set>Unsupported.throwUnsupported("${this:16}.Position = ${value}")</Set>
    </Property>
  </Properties>
  <Events />
  <Indexers />
  <Constructors>
    <Constructor>
      <Imports>
        <Import>java.io.FileInputStream</Import>
      </Imports>
      <Java>new FileInputStream(${path})</Java>
      <Params>
        <Param>
          <Type>System.String</Type>
          <Name>path</Name>
        </Param>
      </Params>
    </Constructor>
  </Constructors>
  <Fields />
  <Casts />
  <UnaryOps />
  <BinaryOps />
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>4cELY16KAUL//3IJkilcJj4RauA=</DigestValue></Reference></SignedInfo><SignatureValue>YTK2P4LPePeVb9tsK6LktpGh8LjpHRVBHfJnZLcIfTG5K2B8fLpg1fKfYus0en63Yj5jlmsCmwWpaGZCbZfZ7ZPE0hnzJ1sBORVAKvWKmdYF+r/0Z8daoxK2G2FON5RwUwvwLhLkpSk58pO/W50aR0buQYmI5+efhRIkuGcPLYg=</SignatureValue></Signature></Class>