クラス
java.nio.ByteBufferの使用
| パッケージ | 説明 |
|---|---|
| com.sun.nio.sctp |
Stream Control Transport Protocol用のJava APIです。
|
| java.lang |
Javaプログラミング言語の設計にあたり基本的なクラスを提供します。
|
| java.lang.module |
モジュール記述子をサポートし、解決とサービス・バインディングによってモジュールの構成を作成するクラス。
|
| java.net.http |
HTTPクライアントおよびWebSocket API
|
| java.nio |
データのコンテナであるバッファについて定義し、その他のNIOパッケージの概要情報を提供します。
|
| java.nio.channels |
入出力操作を実行できるエンティティ(ファイル、ソケットなど)への接続を表すチャネルや、多重化された非ブロック入出力操作用のセレクタを定義します。
|
| java.nio.charset |
byteとUnicode文字の相互変換を行うため、文字セット、デコーダ、およびエンコーダを定義します。
|
| java.nio.file.attribute |
ファイルおよびファイル・システム属性へのアクセスを提供するインタフェースとクラスです。
|
| java.security |
セキュリティ・フレームワークのクラスとインタフェースを提供します。
|
| java.util |
コレクション・フレームワーク、国際化サポート・クラス、サービス・ローダー、プロパティ、乱数生成、文字列解析とスキャン・クラス、Base64エンコーディングとデコード、ビット配列、およびその他のユーティリティ・クラスが含まれています。
|
| java.util.zip |
標準のZIPおよびGZIPファイル形式の読み込みおよび書込み用クラスを提供します。
|
| javax.crypto |
暗号化操作のクラスとインタフェースを提供します。
|
| javax.net.ssl |
セキュア・ソケット・パッケージのクラスを提供します。
|
| javax.smartcardio |
Java™スマート・カード入出力API
|
| jdk.nashorn.api.scripting |
このパッケージでは、Nashornを使用する推奨方法である
javax.scriptの統合を提供します。 |
-
com.sun.nio.sctpでのByteBufferの使用
ByteBufferを戻すcom.sun.nio.sctpのメソッド 修飾子と型 メソッド 説明 abstract ByteBufferSendFailedNotification. buffer()送信されたデータを返します。型ByteBufferのパラメータを持つcom.sun.nio.sctpのメソッド 修飾子と型 メソッド 説明 abstract <T> MessageInfoSctpChannel. receive(ByteBuffer dst, T attachment, NotificationHandler<T> handler)指定されたバッファへのメッセージを受信するか、通知を処理します(あるいはその両方を行います)。abstract <T> MessageInfoSctpMultiChannel. receive(ByteBuffer buffer, T attachment, NotificationHandler<T> handler)このチャネル経由でメッセージを受信するか、通知を処理します(あるいはその両方を行います)。abstract intSctpChannel. send(ByteBuffer src, MessageInfo messageInfo)このチャネル経由でメッセージを送信します。abstract intSctpMultiChannel. send(ByteBuffer buffer, MessageInfo messageInfo)このチャネル経由でメッセージを送信します。 -
java.langでのByteBufferの使用
ByteBuffer型のパラメータを持つjava.langのメソッド 修飾子と型 メソッド 説明 protected Class<?>ClassLoader. defineClass(String name, ByteBuffer b, ProtectionDomain protectionDomain)指定されたProtectionDomainを使用して、ByteBufferをクラスClassのインスタンスに変換します。 -
java.lang.moduleでのByteBufferの使用
型ByteBufferの引数を持つ型を返すjava.lang.moduleのメソッド 修飾子と型 メソッド 説明 default Optional<ByteBuffer>ModuleReader. read(String name)リソースを読み込み、リソースの内容を含むバイト・バッファを返します。型ByteBufferのパラメータを持つjava.lang.moduleのメソッド 修飾子と型 メソッド 説明 static ModuleDescriptorModuleDescriptor. read(ByteBuffer bb)モジュール記述子のバイナリ形式をバイト・バッファからモジュール記述子として読み込みます。static ModuleDescriptorModuleDescriptor. read(ByteBuffer bb, Supplier<Set<String>> packageFinder)モジュール記述子のバイナリ形式をバイト・バッファからモジュール記述子として読み込みます。default voidModuleReader. release(ByteBuffer bb)バイト・バッファを解放します。 -
java.net.httpでのByteBufferの使用
型ByteBufferの型パラメータを持つjava.net.httpのメソッド 修飾子と型 メソッド 説明 static <S extends Flow.Subscriber<? super List<ByteBuffer>>, T>
HttpResponse.BodyHandler<T>HttpResponse.BodyHandlers. fromSubscriber(S subscriber, Function<? super S,? extends T> finisher)指定されたsubscriberおよびfinisher関数を使用して、HttpResponse.BodySubscribers.fromSubscriber(Subscriber, Function)から取得されたBodySubscriber<T>を返すレスポンス本文ハンドラを返します。static <S extends Flow.Subscriber<? super List<ByteBuffer>>, T>
HttpResponse.BodySubscriber<T>HttpResponse.BodySubscribers. fromSubscriber(S subscriber, Function<? super S,? extends T> finisher)すべてのレスポンス本文を指定されたFlow.Subscriberに転送する本文サブスクライバを返します。型ByteBufferの引数を持つ型を返すjava.net.httpのメソッド 修飾子と型 メソッド 説明 static HttpResponse.BodyHandler<Flow.Publisher<List<ByteBuffer>>>HttpResponse.BodyHandlers. ofPublisher()BodySubscribers.ofPublisher()から取得したBodySubscriber<Publisher<List<ByteBuffer>>>を作成するBodyHandler<Publisher<List<ByteBuffer>>>を返します。static HttpResponse.BodySubscriber<Flow.Publisher<List<ByteBuffer>>>HttpResponse.BodySubscribers. ofPublisher()Publisher<List<ByteBuffer>>を介してレスポンス本文をパブリッシュするレスポンス・サブスクライバを返します。型ByteBufferのパラメータを持つjava.net.httpのメソッド 修飾子と型 メソッド 説明 default CompletionStage<?>WebSocket.Listener. onBinary(WebSocket webSocket, ByteBuffer data, boolean last)バイナリ・データを受け取りました。default CompletionStage<?>WebSocket.Listener. onPing(WebSocket webSocket, ByteBuffer message)Pingメッセージを受信しました。default CompletionStage<?>WebSocket.Listener. onPong(WebSocket webSocket, ByteBuffer message)Pongメッセージが受信されました。CompletableFuture<WebSocket>WebSocket. sendBinary(ByteBuffer data, boolean last)指定されたバッファのバイトとともにバイナリ・データを送信します。CompletableFuture<WebSocket>WebSocket. sendPing(ByteBuffer message)指定されたバッファのバイトとともにpingメッセージを送信します。CompletableFuture<WebSocket>WebSocket. sendPong(ByteBuffer message)指定されたバッファからバイトを含むPongメッセージを送信します。型ByteBufferの型引数を持つjava.net.httpのメソッド・パラメータ 修飾子と型 メソッド 説明 static HttpRequest.BodyPublisherHttpRequest.BodyPublishers. fromPublisher(Flow.Publisher<? extends ByteBuffer> publisher)指定されたFlow.Publisherから本文が取得されたリクエスト・ボディ・パブリッシャを返します。static HttpRequest.BodyPublisherHttpRequest.BodyPublishers. fromPublisher(Flow.Publisher<? extends ByteBuffer> publisher, long contentLength)指定されたFlow.Publisherから本文が取得されたリクエスト・ボディ・パブリッシャを返します。static HttpResponse.BodyHandler<Void>HttpResponse.BodyHandlers. fromSubscriber(Flow.Subscriber<? super List<ByteBuffer>> subscriber)指定されたHttpResponse.BodySubscribers.fromSubscriber(Subscriber)から取得されたBodySubscriber<Void>を返すレスポンス本文ハンドラを返します。static HttpResponse.BodySubscriber<Void>HttpResponse.BodySubscribers. fromSubscriber(Flow.Subscriber<? super List<ByteBuffer>> subscriber)すべてのレスポンス本文を指定されたFlow.Subscriberに転送する本文サブスクライバを返します。 -
java.nioでのByteBufferの使用
java.nioでのByteBufferのサブクラス 修飾子と型 クラス 説明 classMappedByteBufferファイルのメモリー・マップ領域を内容とするダイレクトbyteバッファです。ByteBufferを返すjava.nioのメソッド 修飾子と型 メソッド 説明 ByteBufferByteBuffer. alignedSlice(int unitSize)このバッファの内容の共有されて整列されたサブシーケンスである内容を持つ新しいバイト・バッファを作成します。static ByteBufferByteBuffer. allocate(int capacity)新しいbyteバッファを割り当てます。static ByteBufferByteBuffer. allocateDirect(int capacity)新しいダイレクトbyteバッファを割り当てます。abstract ByteBufferByteBuffer. asReadOnlyBuffer()このバッファの内容を共有する新しい読込み専用byteバッファを作成します。ByteBufferByteBuffer. clear()このバッファをクリアします。abstract ByteBufferByteBuffer. compact()このバッファを圧縮します (オプションの操作)。abstract ByteBufferByteBuffer. duplicate()このバッファの内容を共有する新しいbyteバッファを作成します。ByteBufferByteBuffer. flip()このバッファをフリップ(反転)します。ByteBufferByteBuffer. get(byte[] dst)相対一括getメソッドです。ByteBufferByteBuffer. get(byte[] dst, int offset, int length)相対一括getメソッドです。ByteBufferByteBuffer. get(int index, byte[] dst)絶対一括getメソッド。ByteBufferByteBuffer. get(int index, byte[] dst, int offset, int length)絶対一括getメソッド。ByteBufferByteBuffer. limit(int newLimit)このバッファのリミットを設定します。ByteBufferByteBuffer. mark()このバッファの現在位置にマークを設定します。ByteBufferByteBuffer. order(ByteOrder bo)このバッファのbyte順序を変更します。ByteBufferByteBuffer. position(int newPosition)このバッファの位置を設定します。abstract ByteBufferByteBuffer. put(byte b)相対putメソッドです (オプションの操作)。ByteBufferByteBuffer. put(byte[] src)相対一括putメソッドです (オプションの操作)。ByteBufferByteBuffer. put(byte[] src, int offset, int length)相対一括putメソッドです (オプションの操作)。abstract ByteBufferByteBuffer. put(int index, byte b)絶対putメソッドです (オプションの操作)。ByteBufferByteBuffer. put(int index, byte[] src)(optional operation)の絶対一括putメソッド。ByteBufferByteBuffer. put(int index, byte[] src, int offset, int length)(optional operation)の絶対一括putメソッド。ByteBufferByteBuffer. put(ByteBuffer src)相対一括putメソッドです (オプションの操作)。abstract ByteBufferByteBuffer. putChar(char value)char値を書き込む相対putメソッドです (オプションの操作)。abstract ByteBufferByteBuffer. putChar(int index, char value)char値を書き込む絶対putメソッドです (オプションの操作)。abstract ByteBufferByteBuffer. putDouble(double value)double値を書き込む相対putメソッドです (オプションの操作)。abstract ByteBufferByteBuffer. putDouble(int index, double value)double値を書き込む絶対putメソッドです (オプションの操作)。abstract ByteBufferByteBuffer. putFloat(float value)float値を書き込む相対putメソッドです (オプションの操作)。abstract ByteBufferByteBuffer. putFloat(int index, float value)float値を書き込む絶対putメソッドです (オプションの操作)。abstract ByteBufferByteBuffer. putInt(int value)int値を書き込む相対putメソッドです (オプションの操作)。abstract ByteBufferByteBuffer. putInt(int index, int value)int値を書き込む絶対putメソッドです (オプションの操作)。abstract ByteBufferByteBuffer. putLong(int index, long value)long値を書き込む絶対putメソッドです (オプションの操作)。abstract ByteBufferByteBuffer. putLong(long value)long値を書き込む相対putメソッドです (オプションの操作)。abstract ByteBufferByteBuffer. putShort(int index, short value)short値を書き込む絶対putメソッドです (オプションの操作)。abstract ByteBufferByteBuffer. putShort(short value)short値を書き込む相対putメソッドです (オプションの操作)。ByteBufferByteBuffer. reset()バッファの位置を以前にマークした位置に戻します。ByteBufferByteBuffer. rewind()このバッファをリワインド(巻き戻し)します。abstract ByteBufferByteBuffer. slice()このバッファの共有のサブシーケンスを内容とする新しいbyteバッファを作成します。abstract ByteBufferByteBuffer. slice(int index, int length)このバッファの共有のサブシーケンスを内容とする新しいbyteバッファを作成します。static ByteBufferByteBuffer. wrap(byte[] array)byte配列をバッファにラップします。static ByteBufferByteBuffer. wrap(byte[] array, int offset, int length)byte配列をバッファにラップします。ByteBuffer型のパラメータを持つjava.nioのメソッド 修飾子と型 メソッド 説明 intByteBuffer. compareTo(ByteBuffer that)このバッファを別のバッファと比較します。intByteBuffer. mismatch(ByteBuffer that)このバッファと指定されたバッファの最初の不一致の相対索引を検索して戻します。ByteBufferByteBuffer. put(ByteBuffer src)相対一括putメソッドです (オプションの操作)。 -
java.nio.channelsでのByteBufferの使用
ByteBuffer型のパラメータを持つjava.nio.channelsのメソッド 修飾子と型 メソッド 説明 Future<Integer>AsynchronousByteChannel. read(ByteBuffer dst)このチャネルのバイト・シーケンスを指定のバッファに読み込みます。<A> voidAsynchronousByteChannel. read(ByteBuffer dst, A attachment, CompletionHandler<Integer,? super A> handler)このチャネルのバイト・シーケンスを指定のバッファに読み込みます。abstract Future<Integer>AsynchronousFileChannel. read(ByteBuffer dst, long position)このチャネルのバイト・シーケンスを、指定されたファイル位置からバッファに読み込みます。abstract <A> voidAsynchronousFileChannel. read(ByteBuffer dst, long position, A attachment, CompletionHandler<Integer,? super A> handler)このチャネルのバイト・シーケンスを、指定されたファイル位置からバッファに読み込みます。abstract Future<Integer>AsynchronousSocketChannel. read(ByteBuffer dst)abstract <A> voidAsynchronousSocketChannel. read(ByteBuffer[] dsts, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,? super A> handler)このチャネルのバイト・シーケンスを指定されたバッファのサブシーケンスに読み込みます。abstract <A> voidAsynchronousSocketChannel. read(ByteBuffer dst, long timeout, TimeUnit unit, A attachment, CompletionHandler<Integer,? super A> handler)このチャネルのバイト・シーケンスを指定のバッファに読み込みます。<A> voidAsynchronousSocketChannel. read(ByteBuffer dst, A attachment, CompletionHandler<Integer,? super A> handler)abstract intDatagramChannel. read(ByteBuffer dst)このチャネルからデータグラムを読み込みます。longDatagramChannel. read(ByteBuffer[] dsts)このチャネルからデータグラムを読み込みます。abstract longDatagramChannel. read(ByteBuffer[] dsts, int offset, int length)このチャネルからデータグラムを読み込みます。abstract intFileChannel. read(ByteBuffer dst)このチャネルのバイト・シーケンスを指定のバッファに読み込みます。longFileChannel. read(ByteBuffer[] dsts)このチャネルのバイト・シーケンスを指定されたバッファに読み込みます。abstract longFileChannel. read(ByteBuffer[] dsts, int offset, int length)このチャネルのバイト・シーケンスを指定されたバッファのサブシーケンスに読み込みます。abstract intFileChannel. read(ByteBuffer dst, long position)このチャネルのバイト・シーケンスを、指定されたファイル位置からバッファに読み込みます。intReadableByteChannel. read(ByteBuffer dst)このチャネルのバイト・シーケンスを指定のバッファに読み込みます。longScatteringByteChannel. read(ByteBuffer[] dsts)このチャネルのバイト・シーケンスを指定されたバッファに読み込みます。longScatteringByteChannel. read(ByteBuffer[] dsts, int offset, int length)このチャネルのバイト・シーケンスを指定されたバッファのサブシーケンスに読み込みます。intSeekableByteChannel. read(ByteBuffer dst)このチャネルのバイト・シーケンスを指定のバッファに読み込みます。abstract intSocketChannel. read(ByteBuffer dst)longSocketChannel. read(ByteBuffer[] dsts)abstract longSocketChannel. read(ByteBuffer[] dsts, int offset, int length)abstract SocketAddressDatagramChannel. receive(ByteBuffer dst)このチャネルからデータグラムを受信します。abstract intDatagramChannel. send(ByteBuffer src, SocketAddress target)このチャネルからデータグラムを送信します。Future<Integer>AsynchronousByteChannel. write(ByteBuffer src)このチャネルのバイト・シーケンスを指定のバッファから書き出します。<A> voidAsynchronousByteChannel. write(ByteBuffer src, A attachment, CompletionHandler<Integer,? super A> handler)このチャネルのバイト・シーケンスを指定のバッファから書き出します。abstract Future<Integer>AsynchronousFileChannel. write(ByteBuffer src, long position)指定されたバッファのバイト・シーケンスをこのチャネルの指定されたファイル位置に書き込みます。abstract <A> voidAsynchronousFileChannel. write(ByteBuffer src, long position, A attachment, CompletionHandler<Integer,? super A> handler)指定されたバッファのバイト・シーケンスをこのチャネルの指定されたファイル位置に書き込みます。abstract Future<Integer>AsynchronousSocketChannel. write(ByteBuffer src)abstract <A> voidAsynchronousSocketChannel. write(ByteBuffer[] srcs, int offset, int length, long timeout, TimeUnit unit, A attachment, CompletionHandler<Long,? super A> handler)このチャネルのバイト・シーケンスを指定されたバッファのサブシーケンスから書き出します。abstract <A> voidAsynchronousSocketChannel. write(ByteBuffer src, long timeout, TimeUnit unit, A attachment, CompletionHandler<Integer,? super A> handler)このチャネルのバイト・シーケンスを指定のバッファから書き出します。<A> voidAsynchronousSocketChannel. write(ByteBuffer src, A attachment, CompletionHandler<Integer,? super A> handler)abstract intDatagramChannel. write(ByteBuffer src)このチャネルへデータグラムを書き込みます。longDatagramChannel. write(ByteBuffer[] srcs)このチャネルへデータグラムを書き込みます。abstract longDatagramChannel. write(ByteBuffer[] srcs, int offset, int length)このチャネルへデータグラムを書き込みます。abstract intFileChannel. write(ByteBuffer src)このチャネルのバイト・シーケンスを指定のバッファから書き出します。longFileChannel. write(ByteBuffer[] srcs)このチャネルのバイト・シーケンスを指定されたバッファから書き出します。abstract longFileChannel. write(ByteBuffer[] srcs, int offset, int length)このチャネルのバイト・シーケンスを指定されたバッファのサブシーケンスから書き出します。abstract intFileChannel. write(ByteBuffer src, long position)指定されたバッファのバイト・シーケンスをこのチャネルの指定されたファイル位置に書き込みます。longGatheringByteChannel. write(ByteBuffer[] srcs)このチャネルのバイト・シーケンスを指定されたバッファから書き出します。longGatheringByteChannel. write(ByteBuffer[] srcs, int offset, int length)このチャネルのバイト・シーケンスを指定されたバッファのサブシーケンスから書き出します。intSeekableByteChannel. write(ByteBuffer src)このチャネルのバイト・シーケンスを指定のバッファから書き出します。abstract intSocketChannel. write(ByteBuffer src)longSocketChannel. write(ByteBuffer[] srcs)abstract longSocketChannel. write(ByteBuffer[] srcs, int offset, int length)intWritableByteChannel. write(ByteBuffer src)このチャネルのバイト・シーケンスを指定のバッファから書き出します。 -
java.nio.charsetでのByteBufferの使用
ByteBufferを返すjava.nio.charsetのメソッド 修飾子と型 メソッド 説明 ByteBufferCharset. encode(String str)文字列をこの文字セットで表現されたバイトにエンコードする簡易メソッドです。ByteBufferCharset. encode(CharBuffer cb)Unicode文字をこの文字セットで表現されたバイトにエンコードする簡易メソッドです。ByteBufferCharsetEncoder. encode(CharBuffer in)単一の入力文字バッファのコンテンツを新しく割り当てられたbyteバッファ内にエンコードする簡易メソッドです。ByteBuffer型のパラメータを持つjava.nio.charsetのメソッド 修飾子と型 メソッド 説明 CharBufferCharset. decode(ByteBuffer bb)この文字セットで表現されたバイトをUnicode文字にデコードする簡易メソッドです。CharBufferCharsetDecoder. decode(ByteBuffer in)単一の入力byteバッファのコンテンツを新しく割り当てられた文字バッファ内にデコードする簡易メソッドです。CoderResultCharsetDecoder. decode(ByteBuffer in, CharBuffer out, boolean endOfInput)指定された入力バッファ内のバイトを最大限デコードし、指定された出力バッファに結果を書き込みます。protected abstract CoderResultCharsetDecoder. decodeLoop(ByteBuffer in, CharBuffer out)1個以上のバイトをデコードし、1個以上の文字へデコードします。CoderResultCharsetEncoder. encode(CharBuffer in, ByteBuffer out, boolean endOfInput)指定された入力バッファ内の文字を最大限エンコードし、指定された出力バッファに結果を書き込みます。protected abstract CoderResultCharsetEncoder. encodeLoop(CharBuffer in, ByteBuffer out)1個以上の文字1個以上のバイトへエンコードします。CoderResultCharsetEncoder. flush(ByteBuffer out)このエンコーダをフラッシュします。protected CoderResultCharsetEncoder. implFlush(ByteBuffer out)このエンコーダをフラッシュします。 -
java.nio.file.attributeでのByteBufferの使用
ByteBuffer型のパラメータを持つjava.nio.file.attributeのメソッド 修飾子と型 メソッド 説明 intUserDefinedFileAttributeView. read(String name, ByteBuffer dst)ユーザー定義属性の値をバッファに読み込みます。intUserDefinedFileAttributeView. write(String name, ByteBuffer src)ユーザー定義属性の値をバッファから書き出します。 -
java.securityでのByteBufferの使用
ByteBuffer型のパラメータを持つjava.securityのメソッド 修飾子と型 メソッド 説明 protected Class<?>SecureClassLoader. defineClass(String name, ByteBuffer b, CodeSource cs)オプションのCodeSourceを使って、ByteBufferをクラスClassのインスタンスに変換します。protected voidMessageDigestSpi. engineUpdate(ByteBuffer input)指定されたByteBufferを使用してダイジェストを更新します。protected voidSignatureSpi. engineUpdate(ByteBuffer input)署名または検証するデータを、指定されたByteBufferを使用して更新します。voidMessageDigest. update(ByteBuffer input)指定されたByteBufferを使用してダイジェストを更新します。voidSignature. update(ByteBuffer data)署名または検証するデータを、指定されたByteBufferを使用して更新します。 -
java.utilでのByteBufferの使用
ByteBufferを返すjava.utilのメソッド 修飾子と型 メソッド 説明 ByteBufferBase64.Decoder. decode(ByteBuffer buffer)Base64エンコーディング方式を使用して入力byteバッファからすべてのバイトをデコードし、結果を新しく割り当てられたByteBufferに書き込みます。ByteBufferBase64.Encoder. encode(ByteBuffer buffer)Base64エンコーディング方式を使用して、指定されたByteBufferからの残りのすべてのバイトを新しく割り当てられたByteBufferにエンコードします。ByteBuffer型のパラメータを持つjava.utilのメソッド 修飾子と型 メソッド 説明 ByteBufferBase64.Decoder. decode(ByteBuffer buffer)Base64エンコーディング方式を使用して入力byteバッファからすべてのバイトをデコードし、結果を新しく割り当てられたByteBufferに書き込みます。ByteBufferBase64.Encoder. encode(ByteBuffer buffer)Base64エンコーディング方式を使用して、指定されたByteBufferからの残りのすべてのバイトを新しく割り当てられたByteBufferにエンコードします。static BitSetBitSet. valueOf(ByteBuffer bb)指定されたbyteバッファ内の、その位置から上限までのすべてのビットを含む新しいビット・セットを返します。 -
java.util.zipでのByteBufferの使用
ByteBuffer型のパラメータを持つjava.util.zipのメソッド 修飾子と型 メソッド 説明 intDeflater. deflate(ByteBuffer output)入力データを圧縮し、指定されたバッファに圧縮されたデータを挿入します。intDeflater. deflate(ByteBuffer output, int flush)入力データを圧縮し、指定されたバッファに圧縮されたデータを挿入します。intInflater. inflate(ByteBuffer output)指定されたバッファにバイトを圧縮解除します。voidDeflater. setDictionary(ByteBuffer dictionary)圧縮のためのプリセット・ディクショナリを設定します。voidInflater. setDictionary(ByteBuffer dictionary)リセット・ディクショナリを指定されたバッファのバイトに設定します。voidDeflater. setInput(ByteBuffer input)圧縮のための入力データを設定します。voidInflater. setInput(ByteBuffer input)圧縮解除のための入力データを設定します。voidAdler32. update(ByteBuffer buffer)チェックサムを指定されたバッファからのバイト数で更新します。default voidChecksum. update(ByteBuffer buffer)現在のチェックサムを指定されたバッファのバイトで更新します。voidCRC32. update(ByteBuffer buffer)指定されたバッファからのバイトでCRC-32チェックサムを更新します。voidCRC32C. update(ByteBuffer buffer)CRC-32Cチェックサムを、指定されたバッファからのバイトで更新します。 -
javax.cryptoでのByteBufferの使用
ByteBuffer型のパラメータを持つjavax.cryptoのメソッド 修飾子と型 メソッド 説明 intCipher. doFinal(ByteBuffer input, ByteBuffer output)単一の部分から成る操作でデータを暗号化または復号化するか、複数の部分から成る操作を終了します。protected intCipherSpi. engineDoFinal(ByteBuffer input, ByteBuffer output)単一の部分から成る操作でデータを暗号化または復号化するか、複数の部分から成る操作を終了します。protected intCipherSpi. engineUpdate(ByteBuffer input, ByteBuffer output)複数の部分から成る暗号化または復号化操作(この暗号の初期化方法により異なる)を継続し、別のデータ部分を処理します。protected voidMacSpi. engineUpdate(ByteBuffer input)ByteBufferinput内のinput.position()から始まるinput.remaining()バイトを処理します。protected voidCipherSpi. engineUpdateAAD(ByteBuffer src)AAD (Additional Authentication Data)のマルチパート更新を継続します。intCipher. update(ByteBuffer input, ByteBuffer output)複数の部分から成る暗号化または復号化操作(この暗号の初期化方法により異なる)を継続し、別のデータ部分を処理します。voidMac. update(ByteBuffer input)ByteBufferinput内のinput.position()から始まるinput.remaining()バイトを処理します。voidCipher. updateAAD(ByteBuffer src)AAD (Additional Authentication Data)のマルチパート更新を継続します。 -
javax.net.sslでのByteBufferの使用
ByteBuffer型のパラメータを持つjavax.net.sslのメソッド 修飾子と型 メソッド 説明 SSLEngineResultSSLEngine. unwrap(ByteBuffer src, ByteBuffer dst)SSL/TLS/DTLSネットワーク・データを平文アプリケーション・データ・バッファにデコードしようとします。SSLEngineResultSSLEngine. unwrap(ByteBuffer src, ByteBuffer[] dsts)SSL/TLS/DTLSネットワーク・データを一連の平文アプリケーション・データ・バッファにデコードしようとします。abstract SSLEngineResultSSLEngine. unwrap(ByteBuffer src, ByteBuffer[] dsts, int offset, int length)SSL/TLS/DTLSネットワーク・データをplaintextアプリケーション・データ・バッファのサブシーケンスにデコードしようとします。abstract SSLEngineResultSSLEngine. wrap(ByteBuffer[] srcs, int offset, int length, ByteBuffer dst)データ・バッファのサブシーケンスから平文バイトをSSL/TLS/DTLSネットワーク・データにエンコードしようとします。SSLEngineResultSSLEngine. wrap(ByteBuffer[] srcs, ByteBuffer dst)プレーンテキスト・バイトを一連のデータ・バッファからSSL/TLS/DTLSネットワーク・データにエンコードしようとします。SSLEngineResultSSLEngine. wrap(ByteBuffer src, ByteBuffer dst)平文アプリケーション・データのバッファをSSL/TLS/DTLSネットワーク・データにエンコードしようとします。 -
javax.smartcardioでのByteBufferの使用
型ByteBufferのパラメータを持つjavax.smartcardioのメソッド 修飾子と型 メソッド 説明 abstract intCardChannel. transmit(ByteBuffer command, ByteBuffer response)コマンドByteBufferに格納されたコマンドAPDUを送信し、応答ByteBufferにレスポンスAPDUを受信します。型ByteBufferのパラメータを持つjavax.smartcardioのコンストラクタ コンストラクタ 説明 CommandAPDU(ByteBuffer apdu)APDUの内容全体(ヘッダーと本体)を含むByteBufferからCommandAPDUを作成します。 -
jdk.nashorn.api.scriptingでのByteBufferの使用
型ByteBufferのパラメータを持つjdk.nashorn.api.scriptingのメソッド 修飾子と型 メソッド 説明 voidScriptObjectMirror. setIndexedPropertiesToExternalArrayData(ByteBuffer buf)削除予定のため非推奨: このAPI要素は、将来のバージョンで削除される可能性があります。Nashorn拡張: setIndexedPropertiesToExternalArrayData。