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