UV/Callback/Read.pm untested

filter: Statementstmt n/a Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a SCAR -
1 package SPVM::UV::Callback::Read;
2  
3  
4  
5 1;
6  
7 =encoding utf8
8  
9 =head1 Name
10  
11 SPVM::UV::Callback::Read - Callback for Read Operation
12  
13 =head1 Description
14  
15 C<UV::Callback::Read> in L<SPVM> is the interface for the callback passed to L<uv_read_start|https://docs.libuv.org/en/v1.x/stream.html#c.uv_read_start>.
16  
17 =head1 Usage
18  
19 use UV::Callback::Read;
20  
21 =head1 Interface Methods
22  
23 =head2 Anonymous method
24  
25 C<required method : void ($uv_stream : L<UV::Handle::Stream|SPVM::UV::Handle::Stream>, $nread : int, $buffer : string);>
26  
27 The callback method called when data has been received from the stream.
28  
29 See L<UV::Handle::Stream#read_start|SPVM::UV::Handle::Stream/"read_start"> method for usage.
30  
31 =head1 Copyright & License
32  
33 Copyright (c) 2026 Yuki Kimoto
34  
35 MIT License