/** * Read length and codepoint and check against required values * * @exception IOException, DRDAProtocolException error reading file or protocol */ private void readLengthAndCodePoint() throws IOException, DRDAProtocolException { int codepoint = reader.readLengthAndCodePoint( false ); int reqCP = getCP(); if (codepoint != reqCP) cpError(codepoint, reqCP); }
/** * Read length and codepoint and check against required values * * @exception IOException, DRDAProtocolException error reading file or protocol */ private void readLengthAndCodePoint() throws IOException, DRDAProtocolException { int codepoint = reader.readLengthAndCodePoint( false ); int reqCP = getCP(); if (codepoint != reqCP) cpError(codepoint, reqCP); }
/** * Read length and codepoint and check against required values * * @exception IOException, DRDAProtocolException error reading file or protocol */ private void readLengthAndCodePoint() throws IOException, DRDAProtocolException { int codepoint = reader.readLengthAndCodePoint( false ); int reqCP = getCP(); if (codepoint != reqCP) cpError(codepoint, reqCP); }
break; case START_DDM: writer.startDdm(getCP()); break; case WRITE_SCALAR_STRING: writer.writeScalarString(getCP(), getString()); break; case WRITE_SCALAR_2BYTES: writer.writeScalar2Bytes(getCP(),getIntOrCP()); break; case WRITE_SCALAR_1BYTE: writer.writeScalar1Byte(getCP(),getInt()); break; case WRITE_SCALAR_BYTES: writer.writeScalarBytes(getCP(),getBytes()); break; case WRITE_SCALAR_PADDED_BYTES: writer.writeScalarPaddedBytes(getCP(), getBytes(), getInt(), ccsidManager.space); break; break; case WRITE_CODEPOINT_4BYTES: writer.writeCodePoint4Bytes(getCP(), getInt()); break; case WRITE_STRING:
break; case START_DDM: writer.startDdm(getCP()); break; case WRITE_SCALAR_STRING: writer.writeScalarString(getCP(), getString()); break; case WRITE_SCALAR_2BYTES: writer.writeScalar2Bytes(getCP(),getIntOrCP()); break; case WRITE_SCALAR_1BYTE: writer.writeScalar1Byte(getCP(),getInt()); break; case WRITE_SCALAR_BYTES: writer.writeScalarBytes(getCP(),getBytes()); break; case WRITE_SCALAR_PADDED_BYTES: writer.writeScalarPaddedBytes(getCP(), getBytes(), getInt(), ccsidManager.space); break; break; case WRITE_CODEPOINT_4BYTES: writer.writeCodePoint4Bytes(getCP(), getInt()); break; case WRITE_STRING:
break; case START_DDM: writer.startDdm(getCP()); break; case WRITE_SCALAR_STRING: writer.writeScalarString(getCP(), getString()); break; case WRITE_SCALAR_2BYTES: writer.writeScalar2Bytes(getCP(),getIntOrCP()); break; case WRITE_SCALAR_1BYTE: writer.writeScalar1Byte(getCP(),getInt()); break; case WRITE_SCALAR_BYTES: writer.writeScalarBytes(getCP(),getBytes()); break; case WRITE_SCALAR_PADDED_BYTES: writer.writeScalarPaddedBytes(getCP(), getBytes(), getInt(), ccsidManager.space); break; break; case WRITE_CODEPOINT_4BYTES: writer.writeCodePoint4Bytes(getCP(), getInt()); break; case WRITE_STRING: