Storages & Files buffSize
buffSize read/write property

Returns/sets the filter's internal buffer size in bytes. When used with SFRecord the size is automatically calculated.


variable = object.buffSize
object.buffSize = value


Set filter = Server.CreateObject("newObjects.utilctls.SFFilter")
filter.buffSize = 16 ' 16 bytes will be read/written at once
' let strm is some stream opened before
If filter.Read(strm) Then
  ' We have the next 16 bytes read from the stream.
  ' Now we can use the rest of the filter features over them
  ' Read an 4-byte integer from the buffer beginning
  i = filter.GetVar(vbLong)
  ' Go to 10-th byte and do the same
  filter.buffPos = 10
  i = filter.GetVar(vbLong)
  ' etc.
  ' Read error occured
End If 


See the remarks for the buffPos property

Applies to: SFFilter object

Supported on:

Windows 95/NT and later
Windows CE 3.0 and later
Pocket PC/Windows Mobile 2003 and later
Windows CE.NET 4 and later


newObjects Copyright 2001-2006 newObjects [ ]