public write_marker_header ( int marker, int datalen ) : void | ||
marker | int | |
datalen | int | |
Результат | void |
public void write_marker_header(int marker, int datalen)
{
if (datalen > 65533) /* safety check */
m_cinfo.ERREXIT(J_MESSAGE_CODE.JERR_BAD_LENGTH);
emit_marker((JPEG_MARKER) marker);
emit_2bytes(datalen + 2); /* total length */
}