PreviousBehavior Up
Base Class Library
CallbackNext

ByteArray

A ByteArray stores strings as objects, and is a convenient way to handle text of any length. A ByteArray also provides methods for manipulating and searching itself.

The CobolPicx class provides the same functionality as ByteArray, but ByteArrays are more efficient and easier to use when creating instances. This is because a ByteArray stores the string as indexed data, and you don't need to clone the ByteArray class to the length of data you want to store. Use instances of Cobolpicx only when it is important that the instance data comprises just the string.

See class cobolpicx.

Class-Control Entry

Include this entry in the Class-Control paragraph of any program using this class.

ByteArray is class "bytearry"

Superclass

buttonArray


buttonClass Methods


Instance Methods

The list includes methods inherited from superclasses up to, but not including, Collection. For other inherited methods, click the button below:

buttonCollection

add Using avoidparam
asArrayOfSubStrings Returning lnkArrayObject
asByteArray Returning lnkCopy
asCOMP5 Returning lnkComp5
asCOMP5Object Returning lnkComp5
asHEX Returning lnkComp5
asInternalFilename Returning lnkFilename
asLowercase Returning lnknewstring
asParameter Returning lnkstring
asPicX Returning lnknewstring
asSeparateLines Returning lnkcollection
asUppercase Returning lnknewstring
at Using anindex
Returning returnelement
atAllPut Using anelement
atPut Using anindex avalue
collect Using amessage
Returning anewcollection
compareTo Using anarray
Returning lnkResult
concat Using lnkobject
Returning lnknewstring
concatZ Using lnkString
Returning lnkNewString
containsCharacters Returning lnkbool
copyFromTo Using lnkStartIndex lnkEndIndex
Returning lnkNewByteArray
copyReplace Using fromindex toindex acollection
Returning anewcollection
copyReplaceAll Using acollection acollection2
Returning anewcollection
copyWith Using anelement
Returning anewcollection
copyWithOut Using anelement
Returning anewcollection
deepCopy Returning anewcollection
description Returning lnkString
display
do Using amessage
doWithOutCopy Using amessage
equal Using anotherstring
Returning lnkresult
equalsIgnoreCase Using anobject
Returning lnkbool
equalsIgnoreCasebyLengthValue Using comparelength comparevalue
Returning lnkbool
findFirst Using amessage
Returning anindex
findLast Using amessage
Returning anindex
first Returning anelement
firstIndexOf Using anelement fromindex toindex
Returning anindex
firstIndexOfIdentity Using anelement fromindex toindex
Returning anindex
getAddress Returning lnkPtr
getValue Returning lnkstring
getValueWithSize Using lnksize
Returning lnkstring
getValueWithSizeAtPosition Using lnkoffset lnksize
Returning lnkstring
getValueZ Returning lnkstring
greaterThan Using anarray
Returning lnkbool
greaterThanbyLengthValue Using comparelength comparevalue
Returning lnkbool
greaterThanOrEqual Using anintrinsic
Returning lnkbool
grow
growTo Using requiredSize
Returning defaultreturn
hash Returning ahashvalue
indexOfSubCollection Using lnkSearchByteArray lnkStartCharIndexPosition
Returning lnkCharIndexPosition
insertAllAfter Using anindex acollection
Returning anewcollection
isatIdentity Using anelement anindex
Returning lnkbool
isCompatible Using acollection
Returning lnkbool
keysAndDatado Using amessage
last Returning anelement
lastIndexOf Using anelement fromindex toindex
Returning anindex
LessThan Using anarray
Returning lnkbool
lessThanbyLengthValue Using comparelength comparevalue
Returning lnkbool
LessThanOrEqual Using anintrinsic
Returning lnkbool
moveValue Using lnkString
occurrencesOf Using anelement
Returning anumber
reject Using amessage
Returning anewcollection
remove Using anobject
replaceAll Using anelement anelement2 fromindex toindex
replaceSubCollection Using fromindex toindex acollection fromSource
resetValue Using lnkString
reverse Returning anewcollection
reverseDo Using amessage
select Using amessage
Returning anewcollection
setValue Using lnkstring
size Returning acollectionsize
sizeInBytes Returning acollectionsize
trimBlanks Returning lnkobject
withDo Using acollection amessage