Add some bytes relative cmd (#5967)

* add reverse, ends_with command

* add bytes replace, make little refactor

* add bytes add
This commit is contained in:
WindSoilder
2022-07-06 21:25:37 +08:00
committed by GitHub
parent 1ac87715ff
commit 22edb37162
8 changed files with 557 additions and 11 deletions

View File

@ -211,7 +211,11 @@ pub fn create_default_context(cwd: impl AsRef<Path>) -> EngineState {
bind_command! {
Bytes,
BytesLen,
BytesStartsWith
BytesStartsWith,
BytesEndsWith,
BytesReverse,
BytesReplace,
BytesAdd
}
// FileSystem