public class ByteBufferUtil extends Object
| Constructor and Description |
|---|
ByteBufferUtil() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
toByteArray(ByteBuffer byteBuffer)
Read the contents of the ByteBuffer into a byte[].
|
public static byte[] toByteArray(ByteBuffer byteBuffer)
byteBuffer - The ByteBuffer to read from./**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/