yes, The method does not change the position of the FileChannel Reader.
Add it in the javadoc is a good idea. ----------------------------------- Xiangdong Huang School of Software, Tsinghua University 黄向东 清华大学 软件学院 Yuan Tian <[email protected]> 于2019年9月9日周一 下午9:33写道: > Hi, > > While implementing one read method(shown in the following) in TsFileInput > interface, I don’t know whether to modify the position of TsFileInput. > > /** > * read an array of byte from the Input. > * > * @param b -array of byte > * @param off -offset of the Input > * @param len -length > */ > int read(byte[] b, int off, int len) throws IOException; > > > I think this method should not modify this TsFileInput and it should be > specified in the comments. > > > Best, > -------------- > Yuan Tian > School of Software, Tsinghua University > > 田原 > 清华大学 软件学院 > > > > >
