Nushell
Get Nu!
Getting Started
  • The Nushell Book
  • Command Reference
  • Cookbook
  • Language Reference Guide
  • Contributing Guide
Blog
  • English
  • 中文
  • Deutsch
  • Français
  • Español
  • 日本語
  • Português do Brasil
  • Русский язык
GitHub
Get Nu!
Getting Started
  • The Nushell Book
  • Command Reference
  • Cookbook
  • Language Reference Guide
  • Contributing Guide
Blog
  • English
  • 中文
  • Deutsch
  • Français
  • Español
  • 日本語
  • Português do Brasil
  • Русский язык
GitHub
  • Categories

    • Bits
    • Bytes
    • Chart
    • Conversions
    • Core
    • Database
    • Dataframe
    • Dataframe Or Lazyframe
    • Date
    • Debug
    • Default
    • Env
    • Experimental
    • Expression
    • Filesystem
    • Filters
    • Formats
    • Generators
    • Hash
    • History
    • Lazyframe
    • Math
    • Misc
    • Network
    • Path
    • Platform
    • Plugin
    • Prompt
    • Random
    • Removed
    • Shells
    • Strings
    • System
    • Viewers

bytes for bytes

Various commands for working with byte data.

Signature

> bytes {flags}

Input/output types:

inputoutput
nothingstring

Notes

You must use one of the following subcommands. Using this command as-is will only produce this help message.

Subcommands:

namedescriptiontype
bytes addAdd specified bytes to the input.built-in
bytes atGet bytes defined by a range.built-in
bytes buildCreate bytes from the arguments.built-in
bytes collectConcatenate multiple binary into a single binary, with an optional separator between each.built-in
bytes ends-withCheck if bytes ends with a pattern.built-in
bytes index-ofReturns start index of first occurrence of pattern in bytes, or -1 if no match.built-in
bytes lengthOutput the length of any bytes in the pipeline.built-in
bytes removeRemove bytes.built-in
bytes replaceFind and replace binary.built-in
bytes reverseReverse the bytes in the pipeline.built-in
bytes splitSplit input into multiple items using a separator.built-in
bytes starts-withCheck if bytes starts with a pattern.built-in