org.fusesource.hawtbuf
Class AsciiBuffer
java.lang.Object
org.fusesource.hawtbuf.Buffer
org.fusesource.hawtbuf.AsciiBuffer
- All Implemented Interfaces:
- java.lang.Comparable<Buffer>
public final class AsciiBuffer
- extends Buffer
- Author:
- Hiram Chirino
Methods inherited from class org.fusesource.hawtbuf.Buffer |
ascii, bigEndianEditor, buffer, compact, compareTo, contains, containsAt, data, deepCopy, equals, get, getData, getLength, getOffset, in, indexOf, indexOf, indexOf, indexOf, isEmpty, join, length, length, littleEndianEditor, offset, out, readFrom, readFrom, reset, slice, split, startsWith, string, toByteArray, toByteBuffer, trim, trimEnd, trimFront, utf8, utf8, utf8, writeTo, writeTo |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AsciiBuffer
public AsciiBuffer(Buffer other)
AsciiBuffer
public AsciiBuffer(byte[] data,
int offset,
int length)
AsciiBuffer
public AsciiBuffer(byte[] data)
AsciiBuffer
public AsciiBuffer(java.lang.String value)
toString
public java.lang.String toString()
- Overrides:
toString
in class Buffer
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class Buffer
hashCode
public int hashCode()
- Overrides:
hashCode
in class Buffer
ascii
public static AsciiBuffer ascii(java.lang.String value)
ascii
public static AsciiBuffer ascii(Buffer buffer)
encode
public static byte[] encode(java.lang.String value)
decode
public static java.lang.String decode(Buffer value)
Copyright © 2010-2011 FuseSource, Corp.. All Rights Reserved.