// Derived from PDFium's constants/stream_dict_common.h
// Original: Copyright 2018 The PDFium Authors
// Licensed under BSD-3-Clause / Apache-2.0
// See pdfium-upstream/LICENSE for the original license.

//! Entries common to all stream dictionaries.
//!
//! Corresponds to `pdfium::stream` namespace.
//! PDF 1.7 spec, table 3.4.

/// `/Length` — number of bytes from the beginning of the line following the keyword `stream`
/// to the last byte just before the keyword `endstream`.
pub const K_LENGTH: &[u8] = b"Length";

/// `/Filter` — name or array of names of filters to be applied when decoding the stream data.
pub const K_FILTER: &[u8] = b"Filter";

/// `/DecodeParms` — a parameter dictionary, or an array of such dictionaries, used by the filters.
pub const K_DECODE_PARMS: &[u8] = b"DecodeParms";

/// `/F` — the file containing the stream data.
pub const K_F: &[u8] = b"F";

/// `/DL` — the number of bytes in the decoded (defiltered) stream.
pub const K_DL: &[u8] = b"DL";
