インタフェース
com.JRcServer.resource.BinResource の使用

BinResource を使用しているパッケージ
com.JRcServer.etc JRcServerアプリケーションでの他属性パッケージをサポートします. 
com.JRcServer.net.umsg.engine 非同期通信を行うエンジンパッケージを提供します. 
com.JRcServer.resource 資源情報をサポートします. 
com.JRcServer.sys.alias.resource Alias用資源情報をサポートします. 
com.JRcServer.util.zip ZIP関連の処理をサポートします. 
 

com.JRcServer.etc での BinResource の使用
 

BinResource 型のパラメータを持つ com.JRcServer.etc のメソッド
 void CodeBase32.analysis(byte[] key, int step, BinResource binary, int offset, int size)
          解析処理.
 int CodeBase32.encryption(byte[] key, BinResource binary, int offset, int size)
          暗号処理.
 

com.JRcServer.net.umsg.engine での BinResource の使用
 

BinResource を返す com.JRcServer.net.umsg.engine のメソッド
 BinResource UdpMessageEngine.receiveByBinResource(ConnectAddress out)
          受信処理.
 BinResource UdpMessageEngine.receiveByBinResource(ConnectAddress out, int timeout)
          受信処理.
 

BinResource 型のパラメータを持つ com.JRcServer.net.umsg.engine のメソッド
 void UdpMessageEngine.sendByBinResource(ConnectAddress conn, BinResource binary)
          送信処理.
 void UdpMessageEngine.sendByBinResource(java.net.InetAddress addr, int port, BinResource binary)
          送信処理.
 

com.JRcServer.resource での BinResource の使用
 

BinResource を実装している com.JRcServer.resource のクラス
 class BinFileResource
          ファイル領域を利用したバイナリオブジェクト.
 class BinMemoryResource
          メモリー領域を利用したバイナリオブジェクト.
 class BinSpaceResource
          スペース領域を利用したバイナリオブジェクト.
 

BinResource を返す com.JRcServer.resource のメソッド
static BinResource Resource.createBinResource(int type, java.lang.String tmpDir, byte[] bin)
          タイプに対するバイナリリソースを生成.
static BinResource Resource.createBinResource(int type, java.lang.String tmpDir, int size)
          タイプに対するバイナリリソースを生成.
static BinResource Resource.createBinResource(int type, java.lang.String tmpDir, Space fp, byte[] bin)
          タイプに対するバイナリリソースを生成.
static BinResource Resource.createBinResource(int type, java.lang.String tmpDir, Space fp, int size)
          タイプに対するバイナリリソースを生成.
static BinResource Resource.createBinResource(ResourceType rs, byte[] bin)
          タイプに対するバイナリリソースを生成.
static BinResource Resource.createBinResource(ResourceType rs, int size)
          タイプに対するバイナリリソースを生成.
 BinResource BinResourceUtil.get()
          バイナリ情報の取得.
 BinResource BinResourceUtil.get(int size)
          バイナリ情報の取得.
 BinResource BinResourceUtil.get(int off, int size)
          バイナリ情報の取得.
 BinResource CharResource.getBinResource()
          バイナリリソースを取得.
 BinResource BinResourceUtil.getToClear()
          バイナリ情報の取得.
 BinResource BinResourceUtil.getToClear(int size)
          バイナリ情報の取得.
 BinResource BinResourceUtil.getToClear(int off, int size)
          バイナリ情報の取得.
 

BinResource 型のパラメータを持つ com.JRcServer.resource のメソッド
 void BinResourceUtil.add(BinResource info)
          バイナリ情報を追加します.
 void BinResourceUtil.add(BinResource info, int size)
          バイナリ情報を追加します.
 void BinResourceUtil.add(BinResource info, int off, int size)
          バイナリ情報を追加します.
static void Resource.arraycopy(BinResource src, int src_pnt, BinResource dst, int dst_pnt, int len)
          バイナリ情報をコピー.
static void Resource.arraycopy(BinResource src, int src_pnt, byte[] dst, int dst_pnt, int len)
          バイナリ情報をコピー.
static void Resource.arraycopy(byte[] src, int src_pnt, BinResource dst, int dst_pnt, int len)
          バイナリ情報をコピー.
 void BinResourceUtil.between(int no, BinResource info)
          指定条件の間に追加.
 void BinResourceUtil.between(int no, BinResource info, int size)
          指定条件の間に追加.
 void BinResourceUtil.between(int no, BinResource info, int off, int size)
          指定条件の間に追加.
static int Resource.convertBinResourceByCharResource(CharResource out, BinResource bin)
          バイナリリソースをキャラクターリソースに変換.
static int Resource.convertBinResourceByCharResource(CharResource out, BinResource bin, int offset, int length)
          バイナリリソースをキャラクターリソースに変換.
static int Resource.convertBinResourceByCharResource(CharResource out, BinResource bin, int offset, int length, java.lang.String charset)
          バイナリリソースをキャラクターリソースに変換.
static int Resource.convertBinResourceByCharResource(CharResource out, BinResource bin, java.lang.String charset)
          バイナリリソースをキャラクターリソースに変換.
static java.lang.String Resource.convertBinResourceByString(BinResource bin)
          バイナリリソースを文字列に変換.
static java.lang.String Resource.convertBinResourceByString(BinResource bin, int offset, int length)
          バイナリリソースを文字列に変換.
static java.lang.String Resource.convertBinResourceByString(BinResource bin, int offset, int length, java.lang.String charset)
          バイナリリソースを文字列に変換.
static java.lang.String Resource.convertBinResourceByString(BinResource bin, java.lang.String charset)
          バイナリリソースを文字列に変換.
static int Resource.convertBinResourceByString(SString out, BinResource bin)
          バイナリリソースを文字列に変換.
static int Resource.convertBinResourceByString(SString out, BinResource bin, int offset, int length)
          バイナリリソースを文字列に変換.
static int Resource.convertBinResourceByString(SString out, BinResource bin, int offset, int length, java.lang.String charset)
          バイナリリソースを文字列に変換.
static int Resource.convertBinResourceByString(SString out, BinResource bin, java.lang.String charset)
          バイナリリソースを文字列に変換.
static int Resource.convertCharResourceByBinResource(BinResource out, CharResource chr)
          キャラクターリソースをバイナリリソースに変換.
static int Resource.convertCharResourceByBinResource(BinResource out, CharResource chr, int offset, int length)
          キャラクターリソースをバイナリリソースに変換.
static int Resource.convertCharResourceByBinResource(BinResource out, CharResource chr, int offset, int length, java.lang.String charset)
          キャラクターリソースをバイナリリソースに変換.
static int Resource.convertCharResourceByBinResource(BinResource out, CharResource chr, java.lang.String charset)
          キャラクターリソースをバイナリリソースに変換.
static int Resource.convertStringByBinResource(BinResource out, java.lang.String str)
          文字列をバイナリリソースに変換.
static int Resource.convertStringByBinResource(BinResource out, java.lang.String str, int offset, int length)
          文字列をバイナリリソースに変換.
static int Resource.convertStringByBinResource(BinResource out, java.lang.String str, int offset, int length, java.lang.String charset)
          文字列をバイナリリソースに変換.
static int Resource.convertStringByBinResource(BinResource out, java.lang.String str, java.lang.String charset)
          文字列をバイナリリソースに変換.
 int BinSpaceResource.getBinary(BinResource out)
          バイナリ情報を取得.
 int BinResource.getBinary(BinResource out)
          バイナリ情報を取得.
 int BinMemoryResource.getBinary(BinResource out)
          バイナリ情報を取得.
 int BinFileResource.getBinary(BinResource out)
          バイナリ情報を取得.
 int BinSpaceResource.getBinary(BinResource out, int no)
          バイナリ情報を取得.
 int BinResource.getBinary(BinResource out, int no)
          バイナリ情報を取得.
 int BinMemoryResource.getBinary(BinResource out, int no)
          バイナリ情報を取得.
 int BinFileResource.getBinary(BinResource out, int no)
          バイナリ情報を取得.
 int BinSpaceResource.getBinary(BinResource out, int no, int off, int len)
          バイナリ情報を取得.
 int BinResource.getBinary(BinResource out, int no, int off, int len)
          バイナリ情報を取得.
 int BinMemoryResource.getBinary(BinResource out, int no, int off, int len)
          バイナリ情報を取得.
 int BinFileResource.getBinary(BinResource out, int no, int off, int len)
          バイナリ情報を取得.
 void BinResourceUtil.put(BinResource pause)
          指定バイナリ情報を直接追加.
 int BinSpaceResource.setBinary(int no, BinResource bin)
          バイナリ情報設定.
 int BinResource.setBinary(int no, BinResource bin)
          バイナリ情報設定.
 int BinMemoryResource.setBinary(int no, BinResource bin)
          バイナリ情報設定.
 int BinFileResource.setBinary(int no, BinResource bin)
          バイナリ情報設定.
 int BinSpaceResource.setBinary(int no, BinResource bin, int off, int len)
          バイナリ情報設定.
 int BinResource.setBinary(int no, BinResource bin, int off, int len)
          バイナリ情報設定.
 int BinMemoryResource.setBinary(int no, BinResource bin, int off, int len)
          バイナリ情報設定.
 int BinFileResource.setBinary(int no, BinResource bin, int off, int len)
          バイナリ情報設定.
 

BinResource 型のパラメータを持つ com.JRcServer.resource のコンストラクタ
BinBufferedResource(BinResource resource)
          コンストラクタ.
BinBufferedResource(BinResource resource, int size)
          コンストラクタ.
BinResourceInputStream(BinResource resource)
          コンストラクタ.
BinResourceInputStream(BinResource resource, int offset, int length)
          コンストラクタ.
BinResourceInputStream(boolean closeMode, BinResource resource)
          コンストラクタ.
BinResourceInputStream(boolean closeMode, BinResource resource, int offset, int length)
          コンストラクタ.
BinResourceOutputStream(BinResource resource)
          コンストラクタ.
BinResourceOutputStream(boolean closeMode, BinResource resource)
          コンストラクタ.
 

com.JRcServer.sys.alias.resource での BinResource の使用
 

BinResource を返す com.JRcServer.sys.alias.resource のメソッド
static BinResource AliasResource.createAliasResource()
          Aliasバイナリリソースを生成.
static BinResource AliasResource.createAliasResource(byte[] bin)
          Aliasバイナリリソースを生成.
static BinResource AliasResource.createAliasResource(int size)
          Aliasバイナリリソースを生成.
 

com.JRcServer.util.zip での BinResource の使用
 

BinResource 型のパラメータを持つ com.JRcServer.util.zip のメソッド
 int GZIPBinary.convertBinaryByGZIP(BinResource out, BinResource binary)
          指定されたバイナリ情報を圧縮.
 int GZIPBinary.convertBinaryByGZIP(BinResource out, BinResource binary, int length)
          指定されたバイナリ情報を圧縮.
 int GZIPBinary.convertBinaryByGZIP(BinResource out, BinResource binary, int offset, int length)
          指定されたバイナリ情報を圧縮.
 int GZIPBinary.convertGZIPByBinary(BinResource out, BinResource zbin)
          指定された圧縮バイナリ情報を解凍.
 int GZIPBinary.convertGZIPByBinary(BinResource out, BinResource zbin, int length)
          指定された圧縮バイナリ情報を解凍.
 int GZIPBinary.convertGZIPByBinary(BinResource out, BinResource zbin, int offset, int length)
          指定された圧縮バイナリ情報を解凍.