| Package | Description |
|---|---|
| org.bytedeco.hyperscan.global |
| Modifier and Type | Method and Description |
|---|---|
static int |
hyperscan.hs_close_stream(hs_stream_t id,
hs_scratch_t scratch,
match_event_handler onEvent,
Pointer ctxt)
Close a stream.
|
static int |
hyperscan.hs_compress_stream(hs_stream_t stream,
byte[] buf,
long buf_space,
SizeTPointer used_space) |
static int |
hyperscan.hs_compress_stream(hs_stream_t stream,
ByteBuffer buf,
long buf_space,
SizeTPointer used_space) |
static int |
hyperscan.hs_compress_stream(hs_stream_t stream,
BytePointer buf,
long buf_space,
SizeTPointer used_space)
Creates a compressed representation of the provided stream in the buffer
provided.
|
static int |
hyperscan.hs_copy_stream(hs_stream_t to_id,
hs_stream_t from_id) |
static int |
hyperscan.hs_copy_stream(PointerPointer to_id,
hs_stream_t from_id)
Duplicate the given stream.
|
static int |
hyperscan.hs_expand_stream(hs_database_t db,
hs_stream_t stream,
BytePointer buf,
long buf_size) |
static int |
hyperscan.hs_expand_stream(hs_database_t db,
hs_stream_t stream,
String buf,
long buf_size) |
static int |
hyperscan.hs_open_stream(hs_database_t db,
int flags,
hs_stream_t stream) |
static int |
hyperscan.hs_reset_and_copy_stream(hs_stream_t to_id,
hs_stream_t from_id,
hs_scratch_t scratch,
match_event_handler onEvent,
Pointer context)
Duplicate the given 'from' stream state onto the 'to' stream.
|
static int |
hyperscan.hs_reset_and_expand_stream(hs_stream_t to_stream,
BytePointer buf,
long buf_size,
hs_scratch_t scratch,
match_event_handler onEvent,
Pointer context)
Decompresses a compressed representation created by \ref hs_compress_stream()
on top of the 'to' stream.
|
static int |
hyperscan.hs_reset_and_expand_stream(hs_stream_t to_stream,
String buf,
long buf_size,
hs_scratch_t scratch,
match_event_handler onEvent,
Pointer context) |
static int |
hyperscan.hs_reset_stream(hs_stream_t id,
int flags,
hs_scratch_t scratch,
match_event_handler onEvent,
Pointer context)
Reset a stream to an initial state.
|
static int |
hyperscan.hs_scan_stream(hs_stream_t id,
BytePointer data,
int length,
int flags,
hs_scratch_t scratch,
match_event_handler onEvent,
Pointer ctxt)
Write data to be scanned to the opened stream.
|
static int |
hyperscan.hs_scan_stream(hs_stream_t id,
String data,
int length,
int flags,
hs_scratch_t scratch,
match_event_handler onEvent,
Pointer ctxt) |
Copyright © 2020. All rights reserved.