Class ByteBuffer


  • public class ByteBuffer
    extends java.lang.Object
    This is an internal Class used by Win32Link to manipulate array of byte. It should not be used by other packages.
    Since:
    jcms-5.5.0
    Version:
    $Revision: 23893 $
    Author:
    Jean-Philippe Encausse
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String REVISION  
    • Constructor Summary

      Constructors 
      Constructor Description
      ByteBuffer​(int size)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getBytes()  
      int position()  
      void putBSTR​(java.lang.String v, boolean UTF)  
      void putByte​(byte v)  
      void putBytes​(byte[] v)  
      void putChar​(char v)  
      void putInt​(int v)  
      void putLong​(long v)  
      void putString​(java.lang.String v)  
      void putUTF​(java.lang.String v)  
      void reset()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ByteBuffer

        public ByteBuffer​(int size)
    • Method Detail

      • putByte

        public void putByte​(byte v)
      • putChar

        public void putChar​(char v)
      • putInt

        public void putInt​(int v)
      • putLong

        public void putLong​(long v)
      • putBytes

        public void putBytes​(byte[] v)
      • putString

        public void putString​(java.lang.String v)
      • putUTF

        public void putUTF​(java.lang.String v)
      • putBSTR

        public void putBSTR​(java.lang.String v,
                            boolean UTF)
      • reset

        public void reset()
      • position

        public int position()
      • getBytes

        public byte[] getBytes()