MCPcopy Create free account
hub / github.com/alecgorge/jsonapi / decode

Method decode

src/main/java/org/java_websocket/util/Base64.java:1118–1127  ·  view source on GitHub ↗

Low-level access to decoding ASCII characters in the form of a byte array. Ignores GUNZIP option, if it's set. This is not generally a recommended method, although it is used internally as part of the decoding process. Special case: if len = 0, an empty array is returned. Still, if

( byte[] source )

Source from the content-addressed store, hash-verified

1116 * @since 2.3.1
1117 */
1118 public static byte[] decode( byte[] source )
1119 throws java.io.IOException {
1120 byte[] decoded = null;
1121// try {
1122 decoded = decode( source, 0, source.length, Base64.NO_OPTIONS );
1123// } catch( java.io.IOException ex ) {
1124// assert false : "IOExceptions only come from GZipping, which is turned off: " + ex.getMessage();
1125// }
1126 return decoded;
1127 }
1128
1129
1130

Callers 4

decodeToObjectMethod · 0.95
setFileBinaryBase64Method · 0.95
runMethod · 0.45
stringUtf8Method · 0.45

Calls 7

getDecodabetMethod · 0.95
decode4to3Method · 0.95
formatMethod · 0.80
toByteArrayMethod · 0.80
closeMethod · 0.65
readMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected