| synopsis || arguments || prev || next |

kdu_line_buf::get_ints

Java: Kdu_line_buf::Get_ints

Overload navigation: 1, 2

bool get_ints( kdu_int32 * buffer, int first_idx, int num_samples)

Java: boolean Get_ints( int[] buffer, int first_idx, int num_samples)

[Declared in "../coresys/common/kdu_sample_processing.h"]

Go to class description.


Synopsis

Returns false if the object does not hold a 32-bit absolute (integer) sample representation. Otherwise, returns true and copies the integer samples into the supplied buffer. The first copied sample is first_idx positions from the start of the line. There may be little or no checking that the sample range represented by first_idx and num_samples is legal, so be careful.

For native C/C++ interfacing, it is more efficient to explicitly access the internal buffer using get_buf32.


Arguments

buffer [kdu_int32 *]

first_idx [int]

num_samples [int]


| top || synopsis || arguments || prev || next |