# HB_SETBUFFER()

Syntax

  HB_SETBUFFER([<nWriteBuffer>],[<nExtractBuffer>],[<nReadBuffer>]) -->Nil

Arguments

  <nWriteBuffer> The size of the write buffer.
  <nExtractBuffer> The size of the extract buffer.
  <nReadBuffer> The size of the read buffer.

Returns

  <NIL> This function always return NIL.

Description

  This function set the size of the internal buffers for read/write/extract operation
  If the size of the buffer is smaller then the default , the function will automaticaly use the default values,which is 65535/16384/32768.
  This function be called before any of the Compression/decompression Function.

Examples

          HB_SETBUFFER(100000,115214,65242)

Status

  Ready

Compliance

  This function is a Harbour extension

Platforms

  All

Files

  Library is zlib.lib and zlib_bor.lib For Borland Compilers Library is zlib.lib zlib_ms.lib for MSVC compilers