Package deltix.qsrv.hf.codec
Class BinaryUtils
- java.lang.Object
-
- deltix.qsrv.hf.codec.BinaryUtils
-
public class BinaryUtils extends java.lang.Object
copy from deltix.util.collections.ByteArrayListUtils
-
-
Constructor Summary
Constructors Constructor Description BinaryUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static deltix.util.collections.generated.ByteArrayList
append(deltix.util.collections.generated.ByteArrayList ar, short x)
Append x to binary array arstatic deltix.util.collections.generated.ByteArrayList
append(deltix.util.collections.generated.ByteArrayList ar, java.lang.CharSequence x)
Append x to binary array arstatic deltix.util.collections.generated.ByteArrayList
append(deltix.util.collections.generated.ByteArrayList ar, java.lang.String x)
Append x to binary array arstatic deltix.util.collections.generated.ByteArrayList
assign(deltix.util.collections.generated.ByteArrayList ar, java.lang.CharSequence x)
Assign binary array ar by xstatic deltix.util.collections.generated.ByteArrayList
assign(deltix.util.collections.generated.ByteArrayList ar, java.lang.String x)
Assign binary array ar by xstatic short
toShort(deltix.util.collections.generated.ByteArrayList ar, int offset)
Convert binary array, started from offset to shortstatic java.lang.StringBuilder
toStringBuilder(deltix.util.collections.generated.ByteArrayList ar)
Convert binary array, started from offset to CharSequencestatic java.lang.StringBuilder
toStringBuilder(deltix.util.collections.generated.ByteArrayList ar, int offset, java.lang.StringBuilder builder)
Convert binary array, started from offset to CharSequencestatic java.lang.StringBuilder
toStringBuilder(deltix.util.collections.generated.ByteArrayList ar, java.lang.StringBuilder builder)
Convert binary array, started from offset to CharSequence
-
-
-
Method Detail
-
append
public static deltix.util.collections.generated.ByteArrayList append(deltix.util.collections.generated.ByteArrayList ar, short x)
Append x to binary array ar- Parameters:
ar
- binary arrayx
- x- Returns:
- this
-
assign
public static deltix.util.collections.generated.ByteArrayList assign(deltix.util.collections.generated.ByteArrayList ar, java.lang.String x)
Assign binary array ar by x- Parameters:
ar
- binary arrayx
- x- Returns:
- this
-
assign
public static deltix.util.collections.generated.ByteArrayList assign(deltix.util.collections.generated.ByteArrayList ar, java.lang.CharSequence x)
Assign binary array ar by x- Parameters:
ar
- binary arrayx
- x- Returns:
- this
-
append
public static deltix.util.collections.generated.ByteArrayList append(deltix.util.collections.generated.ByteArrayList ar, java.lang.String x)
Append x to binary array ar- Parameters:
ar
- binary arrayx
- x- Returns:
- this
-
append
public static deltix.util.collections.generated.ByteArrayList append(deltix.util.collections.generated.ByteArrayList ar, java.lang.CharSequence x)
Append x to binary array ar- Parameters:
ar
- binary arrayx
- x- Returns:
- this
-
toStringBuilder
public static java.lang.StringBuilder toStringBuilder(deltix.util.collections.generated.ByteArrayList ar, int offset, java.lang.StringBuilder builder)
Convert binary array, started from offset to CharSequence- Parameters:
ar
- binary arrayoffset
- offsetbuilder
- result- Returns:
- builder.
-
toStringBuilder
public static java.lang.StringBuilder toStringBuilder(deltix.util.collections.generated.ByteArrayList ar, java.lang.StringBuilder builder)
Convert binary array, started from offset to CharSequence- Parameters:
ar
- binary arraybuilder
- result- Returns:
- builder.
-
toStringBuilder
public static java.lang.StringBuilder toStringBuilder(deltix.util.collections.generated.ByteArrayList ar)
Convert binary array, started from offset to CharSequence- Parameters:
ar
- binary array- Returns:
- result.
-
toShort
public static short toShort(deltix.util.collections.generated.ByteArrayList ar, int offset)
Convert binary array, started from offset to short- Parameters:
ar
- binary arrayoffset
- offset- Returns:
- result of convertation
-
-