mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-07-08 01:31:53 +08:00
correct is_this_format document
This commit is contained in:
@@ -108,7 +108,7 @@ pub trait ScriptBuilder: std::fmt::Debug {
|
|||||||
/// Checks if the given filename and buffer match this script format.
|
/// Checks if the given filename and buffer match this script format.
|
||||||
/// * `filename` - The name of the file to check.
|
/// * `filename` - The name of the file to check.
|
||||||
/// * `buf` - The buffer containing the script data.
|
/// * `buf` - The buffer containing the script data.
|
||||||
/// * `buf_len` - The length of the buffer.
|
/// * `buf_len` - The length of the valid data in the buffer (it MUST <= buf.len()).
|
||||||
///
|
///
|
||||||
/// Returns a score (0-255) indicating how well the format matches.
|
/// Returns a score (0-255) indicating how well the format matches.
|
||||||
/// A higher score means a better match.
|
/// A higher score means a better match.
|
||||||
|
|||||||
Reference in New Issue
Block a user