I assume that you are using a perl array as a "buffer". In perl you do not have to predefine the length of an array. The array expands as you push additional elements into it. Use the length of the array to detect your maximum buffer length. Use splice to reset the length.
In reply to Re^3: How to access the contents of a specific memory address?
by BillKSmith
in thread How to access the contents of a specific memory address?
by pat_mc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |