azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.sdk.iot...

159 строки
6.2 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: com.microsoft.azure.sdk.iot.deps.util._base64
id: _base64
parent: com.microsoft.azure.sdk.iot.deps.util
children:
- com.microsoft.azure.sdk.iot.deps.util._base64.decodeBase64Local(final byte [])
- com.microsoft.azure.sdk.iot.deps.util._base64.encodeBase64Local(byte [])
- com.microsoft.azure.sdk.iot.deps.util._base64.encodeBase64StringLocal(byte [])
href: com.microsoft.azure.sdk.iot.deps.util._base64.yml
langs:
- java
name: Base64
nameWithType: Base64
fullName: com.microsoft.azure.sdk.iot.deps.util.Base64
type: Class
source:
remote: &o0
path: deps/src/main/java/com/microsoft/azure/sdk/iot/deps/util/Base64.java
branch: master
repo: https://github.com/Azure/azure-iot-sdk-java
path: deps/src/main/java/com/microsoft/azure/sdk/iot/deps/util/Base64.java
startLine: 5
package: com.microsoft.azure.sdk.iot.deps.util
syntax:
content: public class Base64
inheritance:
- java.lang.Object
- uid: com.microsoft.azure.sdk.iot.deps.util._base64.decodeBase64Local(final byte [])
id: decodeBase64Local(final byte [])
parent: com.microsoft.azure.sdk.iot.deps.util._base64
href: com.microsoft.azure.sdk.iot.deps.util._base64.yml
langs:
- java
name: decodeBase64Local(final byte[] base64Values)
nameWithType: Base64.decodeBase64Local(final byte[] base64Values)
fullName: com.microsoft.azure.sdk.iot.deps.util.Base64.decodeBase64Local(final byte[] base64Values)
overload: com.microsoft.azure.sdk.iot.deps.util._base64.decodeBase64Local*
type: Method
source:
remote: *o0
path: deps/src/main/java/com/microsoft/azure/sdk/iot/deps/util/Base64.java
startLine: 176
package: com.microsoft.azure.sdk.iot.deps.util
summary: >-
<p>Convert a array of base64 encoded byte in a array of bytes, returning the bytes original values. <a href="http://www.ietf.org/rfc/rfc2045.txt">RFC 2045</a>.</p>
<p>Base64 only uses 6 bits, so fits each set of 4 base64 in 3 bytes Base64 | c1 | c2 | c3 | c4 | |7 6 5 4 3 2 1 0:7 6 5 4 3 2 1 0:7 6 5 4 3 2 1 0| Byte | b1 | b2 | b3 |</p>
<p></p>
syntax:
content: public static byte [] decodeBase64Local(final byte[] base64Values)
parameters:
- id: base64Values
type: f549433f
description: <p>is an array of base64 encoded values </p>
return:
type: ccd9418d
description: <p>an array of bytes with the original values </p>
exceptions:
- type: 3c87bd19
description: <p>if the provided base64 values are null, or do not fits the required length </p>
- uid: com.microsoft.azure.sdk.iot.deps.util._base64.encodeBase64Local(byte [])
id: encodeBase64Local(byte [])
parent: com.microsoft.azure.sdk.iot.deps.util._base64
href: com.microsoft.azure.sdk.iot.deps.util._base64.yml
langs:
- java
name: encodeBase64Local(byte[] dataValues)
nameWithType: Base64.encodeBase64Local(byte[] dataValues)
fullName: com.microsoft.azure.sdk.iot.deps.util.Base64.encodeBase64Local(byte[] dataValues)
overload: com.microsoft.azure.sdk.iot.deps.util._base64.encodeBase64Local*
type: Method
source:
remote: *o0
path: deps/src/main/java/com/microsoft/azure/sdk/iot/deps/util/Base64.java
startLine: 241
package: com.microsoft.azure.sdk.iot.deps.util
summary: >-
<p>Convert a array of bytes in a array of MIME Base64 values. <a href="http://www.ietf.org/rfc/rfc2045.txt">RFC 2045</a>.</p>
<p></p>
syntax:
content: public static byte [] encodeBase64Local(byte[] dataValues)
parameters:
- id: dataValues
type: ccd9418d
description: <p>is an array of bytes with the original values </p>
return:
type: ccd9418d
description: <p>an array of base64 encoded values </p>
exceptions:
- type: 3c87bd19
description: <p>if the provided base64 values are null, or do not fits the required length </p>
- uid: com.microsoft.azure.sdk.iot.deps.util._base64.encodeBase64StringLocal(byte [])
id: encodeBase64StringLocal(byte [])
parent: com.microsoft.azure.sdk.iot.deps.util._base64
href: com.microsoft.azure.sdk.iot.deps.util._base64.yml
langs:
- java
name: encodeBase64StringLocal(byte[] dataValues)
nameWithType: Base64.encodeBase64StringLocal(byte[] dataValues)
fullName: com.microsoft.azure.sdk.iot.deps.util.Base64.encodeBase64StringLocal(byte[] dataValues)
overload: com.microsoft.azure.sdk.iot.deps.util._base64.encodeBase64StringLocal*
type: Method
source:
remote: *o0
path: deps/src/main/java/com/microsoft/azure/sdk/iot/deps/util/Base64.java
startLine: 267
package: com.microsoft.azure.sdk.iot.deps.util
summary: >-
<p>Convert a array of bytes in a array of MIME Base64 values. <a href="http://www.ietf.org/rfc/rfc2045.txt">RFC 2045</a>.</p>
<p></p>
syntax:
content: public static String encodeBase64StringLocal(byte[] dataValues)
parameters:
- id: dataValues
type: ccd9418d
description: <p>is an array of bytes with the original values </p>
return:
type: "26831127"
description: <p>a string with the base64 encoded values </p>
exceptions:
- type: 3c87bd19
description: <p>if the provided base64 values are null, or do not fits the required length </p>
references:
- uid: 3c87bd19
spec.java:
- name: IllegalArgumentException
fullName: IllegalArgumentException
- uid: f549433f
spec.java:
- name: final byte []
fullName: final byte []
- uid: ccd9418d
spec.java:
- name: byte []
fullName: byte []
- uid: com.microsoft.azure.sdk.iot.deps.util._base64.decodeBase64Local*
name: decodeBase64Local
nameWithType: Base64.decodeBase64Local
fullName: com.microsoft.azure.sdk.iot.deps.util.Base64.decodeBase64Local
package: com.microsoft.azure.sdk.iot.deps.util
- uid: com.microsoft.azure.sdk.iot.deps.util._base64.encodeBase64Local*
name: encodeBase64Local
nameWithType: Base64.encodeBase64Local
fullName: com.microsoft.azure.sdk.iot.deps.util.Base64.encodeBase64Local
package: com.microsoft.azure.sdk.iot.deps.util
- uid: "26831127"
spec.java:
- name: String
fullName: String
- uid: com.microsoft.azure.sdk.iot.deps.util._base64.encodeBase64StringLocal*
name: encodeBase64StringLocal
nameWithType: Base64.encodeBase64StringLocal
fullName: com.microsoft.azure.sdk.iot.deps.util.Base64.encodeBase64StringLocal
package: com.microsoft.azure.sdk.iot.deps.util