Secure iNet Factory

com.jscape.util
Interface EndianBits


public interface EndianBits

Author:
Alex Usun

Method Summary
 boolean getBoolean(byte[] b, int off)
           
 char getChar(byte[] b, int off)
           
 double getDouble(byte[] b, int off)
           
 float getFloat(byte[] b, int off)
           
 int getInt(byte[] b, int off)
           
 long getLong(byte[] b, int off)
           
 short getShort(byte[] b, int off)
           
 byte[] putBoolean(boolean val, byte[] b, int off)
           
 byte[] putChar(char val, byte[] b, int off)
           
 byte[] putDouble(double val, byte[] b, int off)
           
 byte[] putFloat(float val, byte[] b, int off)
           
 byte[] putInt(int val, byte[] b, int off)
           
 byte[] putLong(long val, byte[] b, int off)
           
 byte[] putShort(short val, byte[] b, int off)
           
 

Method Detail

getBoolean

boolean getBoolean(byte[] b,
                   int off)

getChar

char getChar(byte[] b,
             int off)

getShort

short getShort(byte[] b,
               int off)

getInt

int getInt(byte[] b,
           int off)

getLong

long getLong(byte[] b,
             int off)

getFloat

float getFloat(byte[] b,
               int off)

getDouble

double getDouble(byte[] b,
                 int off)

putBoolean

byte[] putBoolean(boolean val,
                  byte[] b,
                  int off)

putChar

byte[] putChar(char val,
               byte[] b,
               int off)

putShort

byte[] putShort(short val,
                byte[] b,
                int off)

putInt

byte[] putInt(int val,
              byte[] b,
              int off)

putLong

byte[] putLong(long val,
               byte[] b,
               int off)

putFloat

byte[] putFloat(float val,
                byte[] b,
                int off)

putDouble

byte[] putDouble(double val,
                 byte[] b,
                 int off)

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved