The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home BasePack DStruct Class TFifo Methods SenseByte | |||||||
See also: GetByte, CountBytes | |||||||
SenseByte |
|||||||
It is sometimes useful to read any byte in the FIFO without deleting the information (as it is done by GetByte). The method SenseByte reads a byte at the specified position ix and returns it in the parameter OutByte. The value of OutByte is only valid if the function returned a TRUE value. The index ix is relative to the output of the FIFO. An index of ix =0 points to the oldest byte in the FIFO. The parameter ix may receive values between 0 and CountBytes -1.
|