String

Overview

Location

 

constructor

 

constructor

 

String()

 

init()

constructor (Slice<Byte>)

 

constructor(aValue: Slice<Byte>)

 

String(Slice<Byte> aValue)

 

init(_ aValue: Slice<Byte>)

Parameters:

  • aValue:

CopyBytes

 

method CopyBytes(out: Slice<Byte>): bool

 

bool CopyBytes(Slice<Byte> out)

 

func CopyBytes(_ out: Slice<Byte>) -> bool

 

func CopyBytes(out Slice<Byte>) bool

Parameters:

  • out:

Empty

 

method Empty: bool

 

bool Empty()

 

func Empty() -> bool

 

func Empty() bool

Equals  override virtual

 

method Equals(value: Object): Boolean

 

Boolean Equals(Object value)

 

func Equals(_ value: Object) -> Boolean

 

func Equals(value interface{}) Boolean

Parameters:

  • value:

GetHashCode  override virtual

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

func GetHashCode() Int32

PeekASN1Tag

 

method PeekASN1Tag(tag: Tag): bool

 

bool PeekASN1Tag(Tag tag)

 

func PeekASN1Tag(_ tag: Tag) -> bool

 

func PeekASN1Tag(tag Tag) bool

Parameters:

  • tag:

ReadAnyASN1

 

method ReadAnyASN1(out: Reference<String>; outTag: Reference<Tag>): bool

 

bool ReadAnyASN1(Reference<String> out, Reference<Tag> outTag)

 

func ReadAnyASN1(_ out: Reference<String>, _ outTag: Reference<Tag>) -> bool

 

func ReadAnyASN1(out Reference<String>, outTag Reference<Tag>) bool

Parameters:

  • out:
  • outTag:

ReadAnyASN1Element

 

method ReadAnyASN1Element(out: Reference<String>; outTag: Reference<Tag>): bool

 

bool ReadAnyASN1Element(Reference<String> out, Reference<Tag> outTag)

 

func ReadAnyASN1Element(_ out: Reference<String>, _ outTag: Reference<Tag>) -> bool

 

func ReadAnyASN1Element(out Reference<String>, outTag Reference<Tag>) bool

Parameters:

  • out:
  • outTag:

ReadASN1

 

method ReadASN1(out: Reference<String>; tag: Tag): bool

 

bool ReadASN1(Reference<String> out, Tag tag)

 

func ReadASN1(_ out: Reference<String>, _ tag: Tag) -> bool

 

func ReadASN1(out Reference<String>, tag Tag) bool

Parameters:

  • out:
  • tag:

ReadASN1BitString

 

method ReadASN1BitString(out: Reference<BitString>): bool

 

bool ReadASN1BitString(Reference<BitString> out)

 

func ReadASN1BitString(_ out: Reference<BitString>) -> bool

 

func ReadASN1BitString(out Reference<BitString>) bool

Parameters:

  • out:

ReadASN1BitStringAsBytes

 

method ReadASN1BitStringAsBytes(out: Reference<Slice<byte>>): bool

 

bool ReadASN1BitStringAsBytes(Reference<Slice<byte>> out)

 

func ReadASN1BitStringAsBytes(_ out: Reference<Slice<byte>>) -> bool

 

func ReadASN1BitStringAsBytes(out Reference<Slice<byte>>) bool

Parameters:

  • out:

ReadASN1Boolean

 

method ReadASN1Boolean(out: Reference<Boolean>): bool

 

bool ReadASN1Boolean(Reference<Boolean> out)

 

func ReadASN1Boolean(_ out: Reference<Boolean>) -> bool

 

func ReadASN1Boolean(out Reference<Boolean>) bool

Parameters:

  • out:

ReadASN1Bytes

 

method ReadASN1Bytes(out: Reference<Slice<byte>>; tag: Tag): bool

 

bool ReadASN1Bytes(Reference<Slice<byte>> out, Tag tag)

 

func ReadASN1Bytes(_ out: Reference<Slice<byte>>, _ tag: Tag) -> bool

 

func ReadASN1Bytes(out Reference<Slice<byte>>, tag Tag) bool

Parameters:

  • out:
  • tag:

ReadASN1Element

 

method ReadASN1Element(out: Reference<String>; tag: Tag): bool

 

bool ReadASN1Element(Reference<String> out, Tag tag)

 

func ReadASN1Element(_ out: Reference<String>, _ tag: Tag) -> bool

 

func ReadASN1Element(out Reference<String>, tag Tag) bool

Parameters:

  • out:
  • tag:

ReadASN1Enum

 

method ReadASN1Enum(out: Reference<Int64>): bool

 

bool ReadASN1Enum(Reference<Int64> out)

 

func ReadASN1Enum(_ out: Reference<Int64>) -> bool

 

func ReadASN1Enum(out Reference<Int64>) bool

Parameters:

  • out:

ReadASN1GeneralizedTime

 

method ReadASN1GeneralizedTime(out: Reference<Time>): bool

 

bool ReadASN1GeneralizedTime(Reference<Time> out)

 

func ReadASN1GeneralizedTime(_ out: Reference<Time>) -> bool

 

func ReadASN1GeneralizedTime(out Reference<Time>) bool

Parameters:

  • out:

ReadASN1Int64WithTag

 

method ReadASN1Int64WithTag(out: Reference<int64>; tag: Tag): bool

 

bool ReadASN1Int64WithTag(Reference<int64> out, Tag tag)

 

func ReadASN1Int64WithTag(_ out: Reference<int64>, _ tag: Tag) -> bool

 

func ReadASN1Int64WithTag(out Reference<int64>, tag Tag) bool

Parameters:

  • out:
  • tag:

ReadASN1Integer

 

method ReadASN1Integer(out: Object): bool

 

bool ReadASN1Integer(Object out)

 

func ReadASN1Integer(_ out: Object) -> bool

 

func ReadASN1Integer(out interface{}) bool

Parameters:

  • out:

ReadASN1ObjectIdentifier

 

method ReadASN1ObjectIdentifier(out: Reference<ObjectIdentifier>): bool

 

bool ReadASN1ObjectIdentifier(Reference<ObjectIdentifier> out)

 

func ReadASN1ObjectIdentifier(_ out: Reference<ObjectIdentifier>) -> bool

 

func ReadASN1ObjectIdentifier(out Reference<ObjectIdentifier>) bool

Parameters:

  • out:

ReadBytes

 

method ReadBytes(out: Reference<Slice<byte>>; n: int): bool

 

bool ReadBytes(Reference<Slice<byte>> out, int n)

 

func ReadBytes(_ out: Reference<Slice<byte>>, _ n: int) -> bool

 

func ReadBytes(out Reference<Slice<byte>>, n int) bool

Parameters:

  • out:
  • n:

ReadOptionalASN1

 

method ReadOptionalASN1(out: Reference<String>; outPresent: Reference<Boolean>; tag: Tag): bool

 

bool ReadOptionalASN1(Reference<String> out, Reference<Boolean> outPresent, Tag tag)

 

func ReadOptionalASN1(_ out: Reference<String>, _ outPresent: Reference<Boolean>, _ tag: Tag) -> bool

 

func ReadOptionalASN1(out Reference<String>, outPresent Reference<Boolean>, tag Tag) bool

Parameters:

  • out:
  • outPresent:
  • tag:

ReadOptionalASN1Boolean

 

method ReadOptionalASN1Boolean(out: Reference<Boolean>; defaultValue: bool): bool

 

bool ReadOptionalASN1Boolean(Reference<Boolean> out, bool defaultValue)

 

func ReadOptionalASN1Boolean(_ out: Reference<Boolean>, _ defaultValue: bool) -> bool

 

func ReadOptionalASN1Boolean(out Reference<Boolean>, defaultValue bool) bool

Parameters:

  • out:
  • defaultValue:

ReadOptionalASN1Integer

 

method ReadOptionalASN1Integer(out: Object; tag: Tag; defaultValue: Object): bool

 

bool ReadOptionalASN1Integer(Object out, Tag tag, Object defaultValue)

 

func ReadOptionalASN1Integer(_ out: Object, _ tag: Tag, _ defaultValue: Object) -> bool

 

func ReadOptionalASN1Integer(out interface{}, tag Tag, defaultValue interface{}) bool

Parameters:

  • out:
  • tag:
  • defaultValue:

ReadOptionalASN1OctetString

 

method ReadOptionalASN1OctetString(out: Reference<Slice<byte>>; outPresent: Reference<Boolean>; tag: Tag): bool

 

bool ReadOptionalASN1OctetString(Reference<Slice<byte>> out, Reference<Boolean> outPresent, Tag tag)

 

func ReadOptionalASN1OctetString(_ out: Reference<Slice<byte>>, _ outPresent: Reference<Boolean>, _ tag: Tag) -> bool

 

func ReadOptionalASN1OctetString(out Reference<Slice<byte>>, outPresent Reference<Boolean>, tag Tag) bool

Parameters:

  • out:
  • outPresent:
  • tag:

ReadUint16

 

method ReadUint16(out: Reference<UInt16>): bool

 

bool ReadUint16(Reference<UInt16> out)

 

func ReadUint16(_ out: Reference<UInt16>) -> bool

 

func ReadUint16(out Reference<UInt16>) bool

Parameters:

  • out:

ReadUint16LengthPrefixed

 

method ReadUint16LengthPrefixed(out: Reference<String>): bool

 

bool ReadUint16LengthPrefixed(Reference<String> out)

 

func ReadUint16LengthPrefixed(_ out: Reference<String>) -> bool

 

func ReadUint16LengthPrefixed(out Reference<String>) bool

Parameters:

  • out:

ReadUint24

 

method ReadUint24(out: Reference<UInt32>): bool

 

bool ReadUint24(Reference<UInt32> out)

 

func ReadUint24(_ out: Reference<UInt32>) -> bool

 

func ReadUint24(out Reference<UInt32>) bool

Parameters:

  • out:

ReadUint24LengthPrefixed

 

method ReadUint24LengthPrefixed(out: Reference<String>): bool

 

bool ReadUint24LengthPrefixed(Reference<String> out)

 

func ReadUint24LengthPrefixed(_ out: Reference<String>) -> bool

 

func ReadUint24LengthPrefixed(out Reference<String>) bool

Parameters:

  • out:

ReadUint32

 

method ReadUint32(out: Reference<UInt32>): bool

 

bool ReadUint32(Reference<UInt32> out)

 

func ReadUint32(_ out: Reference<UInt32>) -> bool

 

func ReadUint32(out Reference<UInt32>) bool

Parameters:

  • out:

ReadUint8

 

method ReadUint8(out: Reference<Byte>): bool

 

bool ReadUint8(Reference<Byte> out)

 

func ReadUint8(_ out: Reference<Byte>) -> bool

 

func ReadUint8(out Reference<Byte>) bool

Parameters:

  • out:

ReadUint8LengthPrefixed

 

method ReadUint8LengthPrefixed(out: Reference<String>): bool

 

bool ReadUint8LengthPrefixed(Reference<String> out)

 

func ReadUint8LengthPrefixed(_ out: Reference<String>) -> bool

 

func ReadUint8LengthPrefixed(out Reference<String>) bool

Parameters:

  • out:

Skip

 

method Skip(n: int): bool

 

bool Skip(int n)

 

func Skip(_ n: int) -> bool

 

func Skip(n int) bool

Parameters:

  • n:

SkipASN1

 

method SkipASN1(tag: Tag): bool

 

bool SkipASN1(Tag tag)

 

func SkipASN1(_ tag: Tag) -> bool

 

func SkipASN1(tag Tag) bool

Parameters:

  • tag:

SkipOptionalASN1

 

method SkipOptionalASN1(tag: Tag): bool

 

bool SkipOptionalASN1(Tag tag)

 

func SkipOptionalASN1(_ tag: Tag) -> bool

 

func SkipOptionalASN1(tag Tag) bool

Parameters:

  • tag:

Value

 

var Value: Slice<Byte>;

 

Slice<Byte> Value

 

var Value: Slice<Byte>

 

Value Slice<Byte>

 

Value

 

var Value: Slice<Byte>;

 

Slice<Byte> Value

 

var Value: Slice<Byte>

 

Value Slice<Byte>

 

constructor

 

constructor

 

String()

 

init()

constructor (Slice<Byte>)

 

constructor(aValue: Slice<Byte>)

 

String(Slice<Byte> aValue)

 

init(_ aValue: Slice<Byte>)

Parameters:

  • aValue:

Empty

 

method Empty: bool

 

bool Empty()

 

func Empty() -> bool

 

func Empty() bool

Equals  override virtual

 

method Equals(value: Object): Boolean

 

Boolean Equals(Object value)

 

func Equals(_ value: Object) -> Boolean

 

func Equals(value interface{}) Boolean

Parameters:

  • value:

GetHashCode  override virtual

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

func GetHashCode() Int32

PeekASN1Tag

 

method PeekASN1Tag(tag: Tag): bool

 

bool PeekASN1Tag(Tag tag)

 

func PeekASN1Tag(_ tag: Tag) -> bool

 

func PeekASN1Tag(tag Tag) bool

Parameters:

  • tag:

CopyBytes

 

method CopyBytes(out: Slice<Byte>): bool

 

bool CopyBytes(Slice<Byte> out)

 

func CopyBytes(_ out: Slice<Byte>) -> bool

 

func CopyBytes(out Slice<Byte>) bool

Parameters:

  • out:

ReadAnyASN1

 

method ReadAnyASN1(out: Reference<String>; outTag: Reference<Tag>): bool

 

bool ReadAnyASN1(Reference<String> out, Reference<Tag> outTag)

 

func ReadAnyASN1(_ out: Reference<String>, _ outTag: Reference<Tag>) -> bool

 

func ReadAnyASN1(out Reference<String>, outTag Reference<Tag>) bool

Parameters:

  • out:
  • outTag:

ReadAnyASN1Element

 

method ReadAnyASN1Element(out: Reference<String>; outTag: Reference<Tag>): bool

 

bool ReadAnyASN1Element(Reference<String> out, Reference<Tag> outTag)

 

func ReadAnyASN1Element(_ out: Reference<String>, _ outTag: Reference<Tag>) -> bool

 

func ReadAnyASN1Element(out Reference<String>, outTag Reference<Tag>) bool

Parameters:

  • out:
  • outTag:

ReadASN1

 

method ReadASN1(out: Reference<String>; tag: Tag): bool

 

bool ReadASN1(Reference<String> out, Tag tag)

 

func ReadASN1(_ out: Reference<String>, _ tag: Tag) -> bool

 

func ReadASN1(out Reference<String>, tag Tag) bool

Parameters:

  • out:
  • tag:

ReadASN1BitString

 

method ReadASN1BitString(out: Reference<BitString>): bool

 

bool ReadASN1BitString(Reference<BitString> out)

 

func ReadASN1BitString(_ out: Reference<BitString>) -> bool

 

func ReadASN1BitString(out Reference<BitString>) bool

Parameters:

  • out:

ReadASN1BitStringAsBytes

 

method ReadASN1BitStringAsBytes(out: Reference<Slice<byte>>): bool

 

bool ReadASN1BitStringAsBytes(Reference<Slice<byte>> out)

 

func ReadASN1BitStringAsBytes(_ out: Reference<Slice<byte>>) -> bool

 

func ReadASN1BitStringAsBytes(out Reference<Slice<byte>>) bool

Parameters:

  • out:

ReadASN1Boolean

 

method ReadASN1Boolean(out: Reference<Boolean>): bool

 

bool ReadASN1Boolean(Reference<Boolean> out)

 

func ReadASN1Boolean(_ out: Reference<Boolean>) -> bool

 

func ReadASN1Boolean(out Reference<Boolean>) bool

Parameters:

  • out:

ReadASN1Bytes

 

method ReadASN1Bytes(out: Reference<Slice<byte>>; tag: Tag): bool

 

bool ReadASN1Bytes(Reference<Slice<byte>> out, Tag tag)

 

func ReadASN1Bytes(_ out: Reference<Slice<byte>>, _ tag: Tag) -> bool

 

func ReadASN1Bytes(out Reference<Slice<byte>>, tag Tag) bool

Parameters:

  • out:
  • tag:

ReadASN1Element

 

method ReadASN1Element(out: Reference<String>; tag: Tag): bool

 

bool ReadASN1Element(Reference<String> out, Tag tag)

 

func ReadASN1Element(_ out: Reference<String>, _ tag: Tag) -> bool

 

func ReadASN1Element(out Reference<String>, tag Tag) bool

Parameters:

  • out:
  • tag:

ReadASN1Enum

 

method ReadASN1Enum(out: Reference<Int64>): bool

 

bool ReadASN1Enum(Reference<Int64> out)

 

func ReadASN1Enum(_ out: Reference<Int64>) -> bool

 

func ReadASN1Enum(out Reference<Int64>) bool

Parameters:

  • out:

ReadASN1GeneralizedTime

 

method ReadASN1GeneralizedTime(out: Reference<Time>): bool

 

bool ReadASN1GeneralizedTime(Reference<Time> out)

 

func ReadASN1GeneralizedTime(_ out: Reference<Time>) -> bool

 

func ReadASN1GeneralizedTime(out Reference<Time>) bool

Parameters:

  • out:

ReadASN1Int64WithTag

 

method ReadASN1Int64WithTag(out: Reference<int64>; tag: Tag): bool

 

bool ReadASN1Int64WithTag(Reference<int64> out, Tag tag)

 

func ReadASN1Int64WithTag(_ out: Reference<int64>, _ tag: Tag) -> bool

 

func ReadASN1Int64WithTag(out Reference<int64>, tag Tag) bool

Parameters:

  • out:
  • tag:

ReadASN1Integer

 

method ReadASN1Integer(out: Object): bool

 

bool ReadASN1Integer(Object out)

 

func ReadASN1Integer(_ out: Object) -> bool

 

func ReadASN1Integer(out interface{}) bool

Parameters:

  • out:

ReadASN1ObjectIdentifier

 

method ReadASN1ObjectIdentifier(out: Reference<ObjectIdentifier>): bool

 

bool ReadASN1ObjectIdentifier(Reference<ObjectIdentifier> out)

 

func ReadASN1ObjectIdentifier(_ out: Reference<ObjectIdentifier>) -> bool

 

func ReadASN1ObjectIdentifier(out Reference<ObjectIdentifier>) bool

Parameters:

  • out:

ReadBytes

 

method ReadBytes(out: Reference<Slice<byte>>; n: int): bool

 

bool ReadBytes(Reference<Slice<byte>> out, int n)

 

func ReadBytes(_ out: Reference<Slice<byte>>, _ n: int) -> bool

 

func ReadBytes(out Reference<Slice<byte>>, n int) bool

Parameters:

  • out:
  • n:

ReadOptionalASN1

 

method ReadOptionalASN1(out: Reference<String>; outPresent: Reference<Boolean>; tag: Tag): bool

 

bool ReadOptionalASN1(Reference<String> out, Reference<Boolean> outPresent, Tag tag)

 

func ReadOptionalASN1(_ out: Reference<String>, _ outPresent: Reference<Boolean>, _ tag: Tag) -> bool

 

func ReadOptionalASN1(out Reference<String>, outPresent Reference<Boolean>, tag Tag) bool

Parameters:

  • out:
  • outPresent:
  • tag:

ReadOptionalASN1Boolean

 

method ReadOptionalASN1Boolean(out: Reference<Boolean>; defaultValue: bool): bool

 

bool ReadOptionalASN1Boolean(Reference<Boolean> out, bool defaultValue)

 

func ReadOptionalASN1Boolean(_ out: Reference<Boolean>, _ defaultValue: bool) -> bool

 

func ReadOptionalASN1Boolean(out Reference<Boolean>, defaultValue bool) bool

Parameters:

  • out:
  • defaultValue:

ReadOptionalASN1Integer

 

method ReadOptionalASN1Integer(out: Object; tag: Tag; defaultValue: Object): bool

 

bool ReadOptionalASN1Integer(Object out, Tag tag, Object defaultValue)

 

func ReadOptionalASN1Integer(_ out: Object, _ tag: Tag, _ defaultValue: Object) -> bool

 

func ReadOptionalASN1Integer(out interface{}, tag Tag, defaultValue interface{}) bool

Parameters:

  • out:
  • tag:
  • defaultValue:

ReadOptionalASN1OctetString

 

method ReadOptionalASN1OctetString(out: Reference<Slice<byte>>; outPresent: Reference<Boolean>; tag: Tag): bool

 

bool ReadOptionalASN1OctetString(Reference<Slice<byte>> out, Reference<Boolean> outPresent, Tag tag)

 

func ReadOptionalASN1OctetString(_ out: Reference<Slice<byte>>, _ outPresent: Reference<Boolean>, _ tag: Tag) -> bool

 

func ReadOptionalASN1OctetString(out Reference<Slice<byte>>, outPresent Reference<Boolean>, tag Tag) bool

Parameters:

  • out:
  • outPresent:
  • tag:

ReadUint16

 

method ReadUint16(out: Reference<UInt16>): bool

 

bool ReadUint16(Reference<UInt16> out)

 

func ReadUint16(_ out: Reference<UInt16>) -> bool

 

func ReadUint16(out Reference<UInt16>) bool

Parameters:

  • out:

ReadUint16LengthPrefixed

 

method ReadUint16LengthPrefixed(out: Reference<String>): bool

 

bool ReadUint16LengthPrefixed(Reference<String> out)

 

func ReadUint16LengthPrefixed(_ out: Reference<String>) -> bool

 

func ReadUint16LengthPrefixed(out Reference<String>) bool

Parameters:

  • out:

ReadUint24

 

method ReadUint24(out: Reference<UInt32>): bool

 

bool ReadUint24(Reference<UInt32> out)

 

func ReadUint24(_ out: Reference<UInt32>) -> bool

 

func ReadUint24(out Reference<UInt32>) bool

Parameters:

  • out:

ReadUint24LengthPrefixed

 

method ReadUint24LengthPrefixed(out: Reference<String>): bool

 

bool ReadUint24LengthPrefixed(Reference<String> out)

 

func ReadUint24LengthPrefixed(_ out: Reference<String>) -> bool

 

func ReadUint24LengthPrefixed(out Reference<String>) bool

Parameters:

  • out:

ReadUint32

 

method ReadUint32(out: Reference<UInt32>): bool

 

bool ReadUint32(Reference<UInt32> out)

 

func ReadUint32(_ out: Reference<UInt32>) -> bool

 

func ReadUint32(out Reference<UInt32>) bool

Parameters:

  • out:

ReadUint8

 

method ReadUint8(out: Reference<Byte>): bool

 

bool ReadUint8(Reference<Byte> out)

 

func ReadUint8(_ out: Reference<Byte>) -> bool

 

func ReadUint8(out Reference<Byte>) bool

Parameters:

  • out:

ReadUint8LengthPrefixed

 

method ReadUint8LengthPrefixed(out: Reference<String>): bool

 

bool ReadUint8LengthPrefixed(Reference<String> out)

 

func ReadUint8LengthPrefixed(_ out: Reference<String>) -> bool

 

func ReadUint8LengthPrefixed(out Reference<String>) bool

Parameters:

  • out:

Skip

 

method Skip(n: int): bool

 

bool Skip(int n)

 

func Skip(_ n: int) -> bool

 

func Skip(n int) bool

Parameters:

  • n:

SkipASN1

 

method SkipASN1(tag: Tag): bool

 

bool SkipASN1(Tag tag)

 

func SkipASN1(_ tag: Tag) -> bool

 

func SkipASN1(tag Tag) bool

Parameters:

  • tag:

SkipOptionalASN1

 

method SkipOptionalASN1(tag: Tag): bool

 

bool SkipOptionalASN1(Tag tag)

 

func SkipOptionalASN1(_ tag: Tag) -> bool

 

func SkipOptionalASN1(tag Tag) bool

Parameters:

  • tag: