다음을 통해 공유


ObjectInputStream.InterfaceConsts.ProtocolVersion2 필드

정의

주의

This constant will be removed in the future version. Use Java.IO.ObjectStreamProtocol enum directly instead of this field.

Stream 프로토콜 버전입니다.

[Android.Runtime.Register("PROTOCOL_VERSION_2")]
[System.Obsolete("This constant will be removed in the future version. Use Java.IO.ObjectStreamProtocol enum directly instead of this field.", true)]
public const Java.IO.ObjectStreamProtocol ProtocolVersion2 = 2;
[<Android.Runtime.Register("PROTOCOL_VERSION_2")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.IO.ObjectStreamProtocol enum directly instead of this field.", true)>]
val mutable ProtocolVersion2 : Java.IO.ObjectStreamProtocol

필드 값

Value = 2
특성

설명

Stream 프로토콜 버전입니다.

이 프로토콜은 JVM 1.2에서 작성되었습니다.

외부화 가능한 데이터는 블록 데이터 모드로 작성되고 TC_ENDBLOCKDATA 종료됩니다. 외부화할 수 있는 클래스 설명자 플래그가 SC_BLOCK_DATA 사용하도록 설정되었습니다. JVM 1.1.6 이상에서는 이 형식 변경을 읽을 수 있습니다.

스트림에 비Serialize할 수 없는 클래스 설명자를 쓸 수 있습니다. 비저장화할 수 없는 클래스의 serialVersionUID는 0L로 설정됩니다.

1.2에 추가되었습니다.

에 대한 java.io.ObjectStreamConstants.PROTOCOL_VERSION_2Java 설명서

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상