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, the names of required properties appear in bold. Any other properties (not in bold) 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 OffsetStart Offset0 BNumber of bytes removed at the beginning of the file.
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
End OffsetEnd Offset0 BNumber of bytes removed at the end of the file.
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
Remove All ContentRemove All Contentfalse
  • true
  • false
Remove all content from the FlowFile superseding Start Offset and End Offset properties.

Relationships:

NameDescription
successProcessed flowfiles.

Reads Attributes:

None specified.

Writes Attributes:

None specified.

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:

None specified.