| Package | Description |
|---|---|
| com.google.cloud |
Core classes for the
google-cloud library. |
| Modifier and Type | Method and Description |
|---|---|
static ByteArray |
ByteArray.copyFrom(byte[] bytes)
Creates a
ByteArray object given an array of bytes. |
static ByteArray |
ByteArray.copyFrom(ByteBuffer bytes)
Creates a
ByteArray object given a ByteBuffer. |
static ByteArray |
ByteArray.copyFrom(InputStream input)
Creates a
ByteArray object given an InputStream. |
static ByteArray |
ByteArray.copyFrom(String string)
Creates a
ByteArray object given a string. |
static ByteArray |
ByteArray.fromBase64(String data)
Creates a
ByteArray from a base64 representation. |
Copyright © 2022 Google LLC. All rights reserved.