Searched refs:peekBuffer (Results 1 – 1 of 1) sorted by relevance
147 ByteBuffer peekBuffer = ByteBuffer.allocateDirect(bytes.length); in checkSendingData() local148 readResult = out.readData(peekBuffer, DataPipe.ReadFlags.none().peek(true)); in checkSendingData()151 assertEquals(bytes.length, peekBuffer.limit()); in checkSendingData()153 peekBuffer.get(peekBytes); in checkSendingData()