'Take bytes' and 'Drop bytes' operations now support ArrayBuffers

This commit is contained in:
n1474335 2018-01-02 15:33:02 +00:00
parent 50b24d9a56
commit 90d9e087f7
2 changed files with 31 additions and 23 deletions

View file

@ -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",