|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of ByteList in org.jruby.util |
|---|
| Fields in org.jruby.util declared as ByteList | |
|---|---|
static ByteList |
ByteList.EMPTY_BYTELIST
|
| Methods in org.jruby.util that return ByteList | |
|---|---|
ByteList |
ByteList.append(byte b)
Append a single byte to the ByteList |
ByteList |
ByteList.append(InputStream input,
int length)
Append up to length bytes from InputStream to the ByteList. |
ByteList |
ByteList.append(int b)
Append a single int to the ByteList |
static ByteList |
ByteList.create(CharSequence s)
Create a bytelist with ISO_8859_1 encoding from the provided CharSequence. |
ByteList |
ByteList.dup()
creates a duplicate of this bytelist but only in the case of a stringValue and its resulting hash value. |
ByteList |
ByteList.dup(int length)
|
ByteList |
ByteList.makeShared(int index,
int len)
Make a shared copy of this ByteList. |
ByteList |
ByteList.shallowDup()
Create a new ByteList but do not array copy the byte backing store. |
| Methods in org.jruby.util with parameters of type ByteList | |
|---|---|
void |
ByteList.append(ByteList moreBytes)
Append moreBytes onto the end of the current ByteList. |
void |
ByteList.append(ByteList moreBytes,
int index,
int len)
Append moreBytes onto the end of the current ByteList with +index as the new begin for len bytes from the moreBytes ByteList. |
int |
ByteList.caseInsensitiveCmp(ByteList other)
Do a case insensitive comparison with other ByteList with return types similiar to compareTo. |
int |
ByteList.cmp(ByteList other)
This comparison matches MRI comparison of Strings (rb_str_cmp). |
boolean |
ByteList.endsWith(ByteList other)
Does this ByteList end with the supplied ByteList? |
boolean |
ByteList.equal(ByteList other)
Does this ByteList equal the other ByteList? |
int |
ByteList.indexOf(ByteList find)
Get the index of first occurrence of Bytelist find in this ByteList. |
int |
ByteList.indexOf(ByteList find,
int i)
Get the index of first occurrence of Bytelist find in this ByteList starting at index i. |
int |
ByteList.lastIndexOf(ByteList find)
Get the index of last occurrence of find in ByteList from the end of the ByteList. |
int |
ByteList.lastIndexOf(ByteList find,
int pos)
Get the index of last occurrence of find in ByteList from the end of the ByteList. |
void |
ByteList.replace(int beg,
int len,
ByteList nbytes)
Note: This is as unsafe as unsafeReplace |
boolean |
ByteList.startsWith(ByteList other)
Does this ByteList start with the supplied ByteList? |
boolean |
ByteList.startsWith(ByteList other,
int toffset)
|
void |
ByteList.unsafeReplace(int beg,
int len,
ByteList nbytes)
Unsafe version of replace(int,int,ByteList). |
| Constructors in org.jruby.util with parameters of type ByteList | |
|---|---|
ByteList(ByteList wrap)
Create a new instance of byte list with the same contents as the passed in ByteList wrap. |
|
ByteList(ByteList wrap,
boolean copy)
Deprecated. |
|
ByteList(ByteList wrap,
int index,
int len)
Create a new instance of ByteList using wrap as a backing store where index is the first index in the byte array where the data starts and len indicates how long the data portion of the bytelist is. |
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||