private void checkRoomHeaders() { // Is the start of the current frame too near the end of the input // buffer? if (inputBuffer.length - readPos < 131) { // Limit based on a control frame with a full payload makeRoom(); } }
private void checkRoomHeaders() { // Is the start of the current frame too near the end of the input // buffer? if (inputBuffer.length - readPos < 131) { // Limit based on a control frame with a full payload makeRoom(); } }
private void checkRoomHeaders() { // Is the start of the current frame too near the end of the input // buffer? if (inputBuffer.length - readPos < 131) { // Limit based on a control frame with a full payload makeRoom(); } }
private void checkRoomPayload() { if (inputBuffer.length - readPos - payloadLength + payloadWritten < 0) { makeRoom(); } }
private void checkRoomPayload() { if (inputBuffer.length - readPos - payloadLength + payloadWritten < 0) { makeRoom(); } }
private void checkRoomPayload() { if (inputBuffer.length - readPos - payloadLength + payloadWritten < 0) { makeRoom(); } }
private void checkRoomHeaders() { // Is the start of the current frame too near the end of the input // buffer? if (inputBuffer.capacity() - inputBuffer.position() < 131) { // Limit based on a control frame with a full payload makeRoom(); } }
private void checkRoomPayload() { if (inputBuffer.capacity() - inputBuffer.position() - payloadLength + payloadWritten < 0) { makeRoom(); } }
private void checkRoomHeaders() { // Is the start of the current frame too near the end of the input // buffer? if (inputBuffer.capacity() - inputBuffer.position() < 131) { // Limit based on a control frame with a full payload makeRoom(); } }
private void checkRoomPayload() { if (inputBuffer.capacity() - inputBuffer.position() - payloadLength + payloadWritten < 0) { makeRoom(); } }