Package com.bea.wcp.diameter
Class DataUtils
java.lang.Object
com.bea.wcp.diameter.DataUtils
Utility methods for reading and writing Diameter message data.
- Author:
- Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Bufferstatic intaligned(int n) static ByteBufferalloc(ByteBuffer bb, int len) static ByteBufferexpand(ByteBuffer bb, int len) static intgetInt3(ByteBuffer bb) static intgetInt3(ByteBuffer bb, int n) static byte[]longToByteArray(Long value) static ByteBufferpad(ByteBuffer bb) static ByteBufferputInt3(ByteBuffer bb, int n) static ByteBufferputInt3(ByteBuffer bb, int i, int n)
-
Constructor Details
-
DataUtils
public DataUtils()
-
-
Method Details
-
alloc
-
expand
-
pad
-
aligned
public static int aligned(int n) -
align
-
putInt3
-
putInt3
-
getInt3
-
getInt3
-
longToByteArray
- Parameters:
value- long value- Returns:
- byte array
-