HttpVersion.lookAheadGet

Optimised lookup to find a HTTP Version and trailing white space in a byte array.

@param buffer buffer containing ISO-8859-1 characters @return A HttpVersion if a match or null if no easy match.

  1. HttpVersion lookAheadGet(byte[] bytes, int position, int limit)
  2. HttpVersion lookAheadGet(ByteBuffer buffer)
    struct HttpVersion
    static
    lookAheadGet
    (
    ByteBuffer buffer
    )

Meta