@Override public int readUnsignedShort() throws IOException { return 0xFFFF & read16(backing,byteMask,this); }
@Override public char readChar() throws IOException { return (char)read16(backing,byteMask,this); }
@Override public char readChar() throws IOException { return (char)read16(backing,byteMask,this); }
@Override public int readUnsignedShort() throws IOException { return 0xFFFF & read16(backing,byteMask,this); }
@Override public char readChar() throws IOException { return (char)read16(backing,byteMask,this); }
@Override public short readShort() throws IOException { return read16(backing,byteMask,this); }
@Override public short readShort() throws IOException { return read16(backing,byteMask,this); }
@Override public int readUnsignedShort() throws IOException { return 0xFFFF & read16(backing,byteMask,this); }
@Override public short readShort() throws IOException { return read16(backing,byteMask,this); }
@Override public String readLine() throws IOException { workspace.setLength(0); if ((byteMask & position) != bytesLimit) { char c = (char)read16(backing,byteMask,this); while ( ((byteMask & position) != bytesLimit) && //hard stop for EOF but this is really end of field. c != '\n' ) { if (c!='\r') { workspace.append(c); c = (char)read16(backing,byteMask,this); } } } return new String(workspace); }
@Override public String readLine() throws IOException { workspace.setLength(0); if ((byteMask & position) != bytesLimit) { char c = (char)read16(backing,byteMask,this); while ( ((byteMask & position) != bytesLimit) && //hard stop for EOF but this is really end of field. c != '\n' ) { if (c!='\r') { workspace.append(c); c = (char)read16(backing,byteMask,this); } } } return new String(workspace); }
@Override public String readLine() throws IOException { workspace.setLength(0); if ((byteMask & position) != bytesLimit) { char c = (char)read16(backing,byteMask,this); while ( ((byteMask & position) != bytesLimit) && //hard stop for EOF but this is really end of field. c != '\n' ) { if (c!='\r') { workspace.append(c); c = (char)read16(backing,byteMask,this); } } } return new String(workspace); }