private ByteList convertCRLFToLF(ByteList input) { if (input == null || binmode) return input; ByteList result = new ByteList(); convertCRLFToLF(input, result); return result; }
public ByteList read(int number) throws IOException, BadDescriptorException, EOFException { return convertCRLFToLF(stream.read(number)); }
public ByteList read(int number) throws IOException, BadDescriptorException, EOFException { return convertCRLFToLF(stream.read(number)); }
public ByteList fgets(ByteList separatorString) throws IOException, BadDescriptorException, EOFException { return convertCRLFToLF(stream.fgets(separatorString)); }
private ByteList convertCRLFToLF(ByteList input) { if (input == null || binmode) return input; ByteList result = new ByteList(); convertCRLFToLF(input, result); return result; }
private ByteList convertCRLFToLF(ByteList input) { if (input == null || binmode) return input; ByteList result = new ByteList(); convertCRLFToLF(input, result); return result; }
private ByteList convertCRLFToLF(ByteList input) { if (input == null || binmode) return input; ByteList result = new ByteList(); convertCRLFToLF(input, result); return result; }
public ByteList fgets(ByteList separatorString) throws IOException, BadDescriptorException, EOFException { return convertCRLFToLF(stream.fgets(separatorString)); }
public int getline(ByteList dst, byte terminator) throws IOException, BadDescriptorException { if (binmode) { return stream.getline(dst, terminator); } ByteList intermediate = new ByteList(); int result = stream.getline(intermediate, terminator); convertCRLFToLF(intermediate, dst); return result; }
public int getline(ByteList dst, byte terminator) throws IOException, BadDescriptorException { if (binmode) { return stream.getline(dst, terminator); } ByteList intermediate = new ByteList(); int result = stream.getline(intermediate, terminator); convertCRLFToLF(intermediate, dst); return result; }
public int fwrite(ByteList string) throws IOException, BadDescriptorException { if (isWindows) return stream.fwrite(convertLFToCRLF(string)); return stream.fwrite(convertCRLFToLF(string)); }
public int getline(ByteList dst, byte terminator) throws IOException, BadDescriptorException { if (binmode) { return stream.getline(dst, terminator); } ByteList intermediate = new ByteList(); int result = stream.getline(intermediate, terminator); convertCRLFToLF(intermediate, dst); return result; }
public int getline(ByteList dst, byte terminator, long limit) throws IOException, BadDescriptorException { if (binmode) { return stream.getline(dst, terminator, limit); } ByteList intermediate = new ByteList(); int result = stream.getline(intermediate, terminator, limit); convertCRLFToLF(intermediate, dst); return result; }
public int fwrite(ByteList string) throws IOException, BadDescriptorException { if (isWindows) return stream.fwrite(convertLFToCRLF(string)); return stream.fwrite(convertCRLFToLF(string)); }
public int getline(ByteList dst, byte terminator, long limit) throws IOException, BadDescriptorException { if (binmode) { return stream.getline(dst, terminator, limit); } ByteList intermediate = new ByteList(); int result = stream.getline(intermediate, terminator, limit); convertCRLFToLF(intermediate, dst); return result; }
public int getline(ByteList dst, byte terminator) throws IOException, BadDescriptorException { if (binmode) { return stream.getline(dst, terminator); } ByteList intermediate = new ByteList(); int result = stream.getline(intermediate, terminator); convertCRLFToLF(intermediate, dst); return result; }
public int getline(ByteList dst, byte terminator, long limit) throws IOException, BadDescriptorException { if (binmode) { return stream.getline(dst, terminator, limit); } ByteList intermediate = new ByteList(); int result = stream.getline(intermediate, terminator, limit); convertCRLFToLF(intermediate, dst); return result; }
public int getline(ByteList dst, byte terminator, long limit) throws IOException, BadDescriptorException { if (binmode) { return stream.getline(dst, terminator, limit); } ByteList intermediate = new ByteList(); int result = stream.getline(intermediate, terminator, limit); convertCRLFToLF(intermediate, dst); return result; }
public int fwrite(ByteList string) throws IOException, BadDescriptorException { if (isWindows) return stream.fwrite(convertLFToCRLF(string)); return stream.fwrite(convertCRLFToLF(string)); }
public int fwrite(ByteList string) throws IOException, BadDescriptorException { if (isWindows) return stream.fwrite(convertLFToCRLF(string)); return stream.fwrite(convertCRLFToLF(string)); }