buffer_size: Get/Set read/write connection buffer size

Description Usage Arguments Value Examples

Description

Get/Set read/write connection buffer size, the buffer size can be set at any time but only takes effect on the connections created after the change. The default value is 1024 *1024 bytes (1 Mega bytes) for both read and write connections.

Usage

1
2
3
4
5
6
7
gcs_set_read_buff(buff_size = 1024L * 1024L)

gcs_set_write_buff(buff_size = 1024L * 1024L)

gcs_get_read_buff()

gcs_get_write_buff()

Arguments

buff_size

Integer. The buffer size

Value

Get functions: the current buffer size. Set functions: the previous buffer size.

Examples

1
2

GCSConnection documentation built on Nov. 8, 2020, 5:30 p.m.