D | SapMessage.java | 378 public static SapMessage readMessage(int requestType, InputStream is) { in readMessage() argument 384 paramCount = is.read(); in readMessage() 385 skip(is, 2); // Skip the 2 padding bytes in readMessage() 388 if (!newMessage.parseParameters(paramCount, is)) { in readMessage() 443 private static void read(InputStream is, byte[] buffer) throws IOException { in read() argument 448 tmpBytesRead = is.read(buffer, bytesRead, bytesToRead - bytesRead); in read() 464 private static void skip(InputStream is, int count) throws IOException { in skip() argument 466 is.read(); // Do not use the InputStream.skip as it fails for some stream types in skip() 478 private boolean parseParameters(int count, InputStream is) throws IOException { in parseParameters() argument 485 paramId = is.read(); in parseParameters() [all …]
|