語言

ByteBuffer.GetChar(Int32) 方法

定義

絕對 讀取燒焦值的方法。

[Android.Runtime.Register("getChar", "(I)C", "GetGetChar_IHandler")]
public abstract char GetChar(int index);
[<Android.Runtime.Register("getChar", "(I)C", "GetGetChar_IHandler")>]
abstract member GetChar : int -> char

參數

index
Int32

讀取位元組的索引

傳回

在給定指標下的 char 值

屬性

例外狀況

如果 index 是無效的。

備註

絕對 讀取燒焦值的方法。

在指定索引處讀取兩個位元組,並依當前位元組順序組合成字元值。

Java 文件 java.nio.ByteBuffer.getChar(int)

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於