use of org.neo4j.bolt.packstream.ByteBufInput in project neo4j by neo4j.
the class MessageConditions method responseReader.
private static BoltResponseMessageReader responseReader(Neo4jPack neo4jPack, byte[] bytes) {
ByteBufInput byteBufInput = new ByteBufInput();
byteBufInput.start(Unpooled.wrappedBuffer(bytes));
return new BoltResponseMessageReader(neo4jPack.newUnpacker(byteBufInput));
}
Aggregations