Michalis Kamburelis wrote:
Koenraad Lelong wrote:
...
"array of byte" is a dynamic array. It's a pointer, to data and to some
internal fields. "^array of byte" is a pointer to a pointer to data. You
don't want this.
What you probably want is something like
type
TByteArray = array[0..Max
Koenraad Lelong wrote:
Hi,
I have following code (almost literally translated from C) :
//--
// Bit utility to read and write a bit in the buffer 'buf'.
//
// 'op'- operation (1) to set and (0) to read
// 'state' - set