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 TRLEncoder Methods Encode | |||||||||||
See also: Decode, Finish, GetResult | |||||||||||
Encode |
|||||||||||
The method Encode accepts NumBytes input data which are stored in the array variable Inbuf and encodes it into a run length limited data stream. If the result exceeds the maximum buffer length, a TRUE value is returned. In this case the encoder buffer should be emptied by calling the method GetResult. The user has to make sure that the NumBytes does not exceed BufLeng, otherwise the resulting code may be corrupted.
|