public void write(byte[] buffer) throws IOException {write(buffer, 0, buffer.length);}

public void write ( byte [ ] buffer ) throws IOException { write ( buffer , 0 , buffer . length ) ; }
public virtual void write(byte[] buffer){throw new System.NotImplementedException();}
