Deleted Added
full compact
BIO_f_buffer.pod (68652) BIO_f_buffer.pod (215697)
1=pod
2
3=head1 NAME
4
5BIO_f_buffer - buffering BIO
6
7=head1 SYNOPSIS
8

--- 17 unchanged lines hidden (view full) ---

26Both BIO_gets() and BIO_puts() are supported.
27
28Calling BIO_reset() on a buffering BIO clears any buffered data.
29
30BIO_get_buffer_num_lines() returns the number of lines currently buffered.
31
32BIO_set_read_buffer_size(), BIO_set_write_buffer_size() and BIO_set_buffer_size()
33set the read, write or both read and write buffer sizes to B<size>. The initial
1=pod
2
3=head1 NAME
4
5BIO_f_buffer - buffering BIO
6
7=head1 SYNOPSIS
8

--- 17 unchanged lines hidden (view full) ---

26Both BIO_gets() and BIO_puts() are supported.
27
28Calling BIO_reset() on a buffering BIO clears any buffered data.
29
30BIO_get_buffer_num_lines() returns the number of lines currently buffered.
31
32BIO_set_read_buffer_size(), BIO_set_write_buffer_size() and BIO_set_buffer_size()
33set the read, write or both read and write buffer sizes to B<size>. The initial
34buffer size is DEFAULT_BUFFER_SIZE, currently 1024. Any attempt to reduce the
34buffer size is DEFAULT_BUFFER_SIZE, currently 4096. Any attempt to reduce the
35buffer size below DEFAULT_BUFFER_SIZE is ignored. Any buffered data is cleared
36when the buffer is resized.
37
38BIO_set_buffer_read_data() clears the read buffer and fills it with B<num>
39bytes of B<buf>. If B<num> is larger than the current buffer size the buffer
40is expanded.
41
42=head1 NOTES

--- 18 unchanged lines hidden (view full) ---

61BIO_set_read_buffer_size(), BIO_set_write_buffer_size() and BIO_set_buffer_size()
62return 1 if the buffer was successfully resized or 0 for failure.
63
64BIO_set_buffer_read_data() returns 1 if the data was set correctly or 0 if
65there was an error.
66
67=head1 SEE ALSO
68
35buffer size below DEFAULT_BUFFER_SIZE is ignored. Any buffered data is cleared
36when the buffer is resized.
37
38BIO_set_buffer_read_data() clears the read buffer and fills it with B<num>
39bytes of B<buf>. If B<num> is larger than the current buffer size the buffer
40is expanded.
41
42=head1 NOTES

--- 18 unchanged lines hidden (view full) ---

61BIO_set_read_buffer_size(), BIO_set_write_buffer_size() and BIO_set_buffer_size()
62return 1 if the buffer was successfully resized or 0 for failure.
63
64BIO_set_buffer_read_data() returns 1 if the data was set correctly or 0 if
65there was an error.
66
67=head1 SEE ALSO
68
69TBA
69L<BIO(3)|BIO(3)>,
70L<BIO_reset(3)|BIO_reset(3)>,
71L<BIO_flush(3)|BIO_flush(3)>,
72L<BIO_pop(3)|BIO_pop(3)>,
73L<BIO_ctrl(3)|BIO_ctrl(3)>,
74L<BIO_int_ctrl(3)|BIO_ctrl(3)>