public class ConvertBinaryUtil extends Object
Modifier and Type | Method and Description |
---|---|
static long |
convertBytesToLong(byte[] bytes) |
static Long |
convertStringToLong(String data) |
static byte[] |
paddingTo8Byte(byte[] data) |
static byte[] |
paddingToNByte(byte[] data,
int paddingNum) |
static byte[] |
utf8To8Byte(String data) |
public static byte[] paddingTo8Byte(byte[] data)
public static byte[] paddingToNByte(byte[] data, int paddingNum)
public static byte[] utf8To8Byte(String data)
public static long convertBytesToLong(byte[] bytes)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.