nsmcp::BoundedLogScanner method load (public)

 <instance of nsmcp::BoundedLogScanner[i]> load bytes

Defined in /usr/local/ns/tcl/nsmcp/log-01-scanner.tcl

Parameters:
bytes (required)

Testcases:
No testcase defined.
Source code:
if {${:channel} ne ""} {error "load requires an in-memory scanner"}
if {[string length $bytes]>${:blockBytes}} {error "scanner chunk exceeds its byte bound"}
:setBuffer $bytes 0 [string length $bytes]
set :limit ${:bufferEnd}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: