Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
Specify vsoType of Number for int inputs.
Browse files Browse the repository at this point in the history
vRO doesn't have "int" types
  • Loading branch information
dlinsley committed May 11, 2017
1 parent 361ea83 commit 6612917
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,16 @@ public String binaryConcatBase64(
return service.binaryConcatBase64(b64data1, b64data2);
}

@VsoMethod(description="Decodes a Base64 String and returns the number of bytes that were encoded.")
public int getLengthBase64(@VsoParam(description="Base64 data ") String b64data) {
@VsoMethod(description="Decodes a Base64 String and returns the number of bytes that were encoded.",vsoReturnType="Number")
public int getLengthBase64(@VsoParam(description="Base64 data") String b64data) {
return service.getLengthBase64(b64data);
}

@VsoMethod(description="Returns a subset of bytes from a Base64 encoded string")
public String getSubsetBase64(
@VsoParam(description="Base64 data") String b64data,
@VsoParam(description="Starting byte index to get subset of data (inclusive). Starts at 0") int start,
@VsoParam(description="number of bytes to return. Must be 1 or greater") int length) {
@VsoParam(description="Starting byte index to get subset of data (inclusive). Starts at 0",vsoType="Number") int start,
@VsoParam(description="number of bytes to return. Must be 1 or greater",vsoType="Number") int length) {
if (length < 1) {
throw new IllegalArgumentException("length must be 1 or greater");
}
Expand Down

0 comments on commit 6612917

Please sign in to comment.