mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-24 16:56:15 -04:00
'Take bytes' and 'Drop bytes' operations now support ArrayBuffers
This commit is contained in:
parent
50b24d9a56
commit
90d9e087f7
2 changed files with 31 additions and 23 deletions
|
@ -1913,9 +1913,9 @@ const OperationConfig = {
|
|||
},
|
||||
"Drop bytes": {
|
||||
module: "Default",
|
||||
description: "Cuts the specified number of bytes out of the data.",
|
||||
inputType: "byteArray",
|
||||
outputType: "byteArray",
|
||||
description: "Cuts a slice of the specified number of bytes out of the data.",
|
||||
inputType: "ArrayBuffer",
|
||||
outputType: "ArrayBuffer",
|
||||
args: [
|
||||
{
|
||||
name: "Start",
|
||||
|
@ -1937,8 +1937,8 @@ const OperationConfig = {
|
|||
"Take bytes": {
|
||||
module: "Default",
|
||||
description: "Takes a slice of the specified number of bytes from the data.",
|
||||
inputType: "byteArray",
|
||||
outputType: "byteArray",
|
||||
inputType: "ArrayBuffer",
|
||||
outputType: "ArrayBuffer",
|
||||
args: [
|
||||
{
|
||||
name: "Start",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue