We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52145d7 commit d21e8c0Copy full SHA for d21e8c0
1 file changed
src/scripts/base.rs
@@ -108,7 +108,7 @@ pub trait ScriptBuilder: std::fmt::Debug {
108
/// Checks if the given filename and buffer match this script format.
109
/// * `filename` - The name of the file to check.
110
/// * `buf` - The buffer containing the script data.
111
- /// * `buf_len` - The length of the buffer.
+ /// * `buf_len` - The length of the valid data in the buffer (it MUST <= buf.len()).
112
///
113
/// Returns a score (0-255) indicating how well the format matches.
114
/// A higher score means a better match.
0 commit comments