public class EcmsdkArrayPool extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BUFSIZE |
Constructor and Description |
---|
EcmsdkArrayPool(int arraySize) |
Modifier and Type | Method and Description |
---|---|
byte[] |
allocByteArr()
Allocate byte array
|
static byte[] |
allocByteArrDefault() |
char[] |
allocCharArr()
Allocate chars
|
static char[] |
allocCharArrDefault() |
void |
freeByteArr(byte[] paramArrayOfByte)
Free byte array
|
static void |
freeByteArrDefault(byte[] paramArrayOfByte) |
void |
freeCharArr(char[] paramArrayOfChar)
Free chars
|
static void |
freeCharArrDefault(char[] paramArrayOfChar) |
public static final int DEFAULT_BUFSIZE
public char[] allocCharArr()
public void freeCharArr(char[] paramArrayOfChar)
paramArrayOfChar
- public byte[] allocByteArr()
public void freeByteArr(byte[] paramArrayOfByte)
paramArrayOfByte
- public static char[] allocCharArrDefault()
public static void freeCharArrDefault(char[] paramArrayOfChar)
public static byte[] allocByteArrDefault()
public static void freeByteArrDefault(byte[] paramArrayOfByte)
Copyright © 2023. All rights reserved.