Skip to main content

ModifyBytes

Description​

Discard byte range at the start and end or all content of a binary file.

Tags​

binary, discard, keep

Properties​

In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Start Offset *Start Offset0 BNumber of bytes removed at the beginning of the file.

Supports Expression Language, using FlowFile attributes and Environment variables.
End Offset *End Offset0 BNumber of bytes removed at the end of the file.

Supports Expression Language, using FlowFile attributes and Environment variables.
Remove All Content *Remove All Contentfalse
  • true
  • false
Remove all content from the FlowFile superseding Start Offset and End Offset properties.

Dynamic Properties​

This component does not support dynamic properties.

Relationships​

NameDescription
successProcessed flowfiles.

Reads Attributes​

This processor does not read attributes.

Writes Attributes​

This processor does not write attributes.

State Management​

This component does not store state.

Restricted​

This component is not restricted.

Input Requirement​

This component requires an incoming relationship.

System Resource Considerations​

This component does not specify system resource considerations.

See Also​