SwiftstructSearchOnDeviceAnalytics
struct SwiftAvro.ByteBuffer
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 44
- func
static __derived_struct_equals(SwiftAvro.ByteBuffer, SwiftAvro.ByteBuffer) -> Bool - field
var data: Foundation.Data - field
var readerIndex: Int - func
_toEndianness<A where A: FixedWidthInteger>(value: A, endianness: SwiftAvro.Endianness) -> A - func
getBytes(at: Int, length: Int) -> [UInt8]? - func
getInteger<A where A: FixedWidthInteger>(at: Int, endianness: SwiftAvro.Endianness, as: A.Type) -> A? - func
getString(at: Int, length: Int) -> String? - func
moveReaderIndex(to: Int) -> () - func
moveReaderIndex(forwardBy: Int) -> () - func
readAvroArray(SwiftAvro.AvroArraySchema) -> SwiftAvro.AvroValue? - func
readAvroMap(SwiftAvro.AvroMapSchema) -> SwiftAvro.AvroValue? - func
readAvroPrimitive(SwiftAvro.AvroPrimitiveSchema) -> SwiftAvro.AvroValue? - func
readAvroRecord(SwiftAvro.AvroRecordSchema) -> SwiftAvro.AvroValue? - func
readAvroUnion(SwiftAvro.AvroUnionSchema) -> SwiftAvro.AvroValue? - func
readAvroValue(SwiftAvro.AvroSchema) -> SwiftAvro.AvroValue? - func
readBytes(length: Int) -> [UInt8]? - func
readInteger<A where A: FixedWidthInteger>(endianness: SwiftAvro.Endianness, as: A.Type) -> A? - func
readString(length: Int) -> String? - func
withUnsafeBytes<A>((UnsafeRawBufferPointer) throws -> A) throws -> A - func
writeAvroArray(SwiftAvro.AvroArray) -> Int - func
writeAvroBool(Bool) -> Int - func
writeAvroBytes(Foundation.Data) -> Int - func
writeAvroBytes(SwiftAvro.ByteBuffer) -> Int - func
writeAvroBytes([UInt8]) -> Int - func
writeAvroDouble(Double) -> Int - func
writeAvroFloat(Float) -> Int - func
writeAvroInt(Int32) -> Int - func
writeAvroLong(Int64) -> Int - func
writeAvroMap(SwiftAvro.AvroMap) -> Int - func
writeAvroPrimitive(SwiftAvro.AvroPrimitive) -> Int - func
writeAvroRecord(SwiftAvro.AvroRecord) -> Int - func
writeAvroString(String) -> Int - func
writeAvroUnion(SwiftAvro.AvroUnion) -> Int - func
writeAvroValue(SwiftAvro.AvroValue) -> Int - func
writeBytes([UInt8]) -> Int - func
writeData(Foundation.Data) -> Int - func
writeImmutableBuffer(SwiftAvro.ByteBuffer) -> Int - func
writeInteger<A where A: FixedWidthInteger>(_: A, endianness: SwiftAvro.Endianness) -> Int - func
writeString(String) -> Int - init
init(data: Foundation.Data) -> SwiftAvro.ByteBuffer - init
init(bytes: [UInt8]) -> SwiftAvro.ByteBuffer - init
init() -> SwiftAvro.ByteBuffer - var
var count: Int { get } - var
var readableBytesView: SwiftAvro.ByteBufferView { get }
Header
struct ByteBuffer { var data: Foundation.Data var readerIndex: Swift.Int init(data: Foundation.Data) init(bytes: [Swift.UInt8]) init() var count: Swift.Int { get } var readableBytesView: SwiftAvro.ByteBufferView { get } func writeImmutableBuffer(_: SwiftAvro.ByteBuffer) -> Swift.Int func readAvroMap(_: SwiftAvro.AvroMapSchema) -> SwiftAvro.AvroValue? func readAvroArray(_: SwiftAvro.AvroArraySchema) -> SwiftAvro.AvroValue? func readAvroUnion(_: SwiftAvro.AvroUnionSchema) -> SwiftAvro.AvroValue? func readAvroValue(_: SwiftAvro.AvroSchema) -> SwiftAvro.AvroValue? func readAvroRecord(_: SwiftAvro.AvroRecordSchema) -> SwiftAvro.AvroValue? func readAvroPrimitive(_: SwiftAvro.AvroPrimitiveSchema) -> SwiftAvro.AvroValue? func writeAvroInt(_: Swift.Int32) -> Swift.Int func writeAvroMap(_: SwiftAvro.AvroMap) -> Swift.Int func writeAvroBool(_: Swift.Bool) -> Swift.Int func writeAvroLong(_: Swift.Int64) -> Swift.Int func writeAvroArray(_: SwiftAvro.AvroArray) -> Swift.Int func writeAvroBytes(_: Foundation.Data) -> Swift.Int func writeAvroBytes(_: SwiftAvro.ByteBuffer) -> Swift.Int func writeAvroBytes(_: [Swift.UInt8]) -> Swift.Int func writeAvroFloat(_: Swift.Float) -> Swift.Int func writeAvroUnion(_: SwiftAvro.AvroUnion) -> Swift.Int func writeAvroValue(_: SwiftAvro.AvroValue) -> Swift.Int func writeAvroDouble(_: Swift.Double) -> Swift.Int func writeAvroRecord(_: SwiftAvro.AvroRecord) -> Swift.Int func writeAvroString(_: Swift.String) -> Swift.Int func writeAvroPrimitive(_: SwiftAvro.AvroPrimitive) -> Swift.Int func getInteger<A>(at: Swift.Int, endianness: SwiftAvro.Endianness, as: A.Type) -> A? where A: Swift.FixedWidthInteger func readString(length: Swift.Int) -> Swift.String? func writeBytes(_: [Swift.UInt8]) -> Swift.Int func readInteger<A>(endianness: SwiftAvro.Endianness, as: A.Type) -> A? where A: Swift.FixedWidthInteger func writeString(_: Swift.String) -> Swift.Int func writeInteger<A>(_: A, endianness: SwiftAvro.Endianness) -> Swift.Int where A: Swift.FixedWidthInteger func _toEndianness<A>(value: A, endianness: SwiftAvro.Endianness) -> A where A: Swift.FixedWidthInteger func moveReaderIndex(to: Swift.Int) func moveReaderIndex(forwardBy: Swift.Int) func withUnsafeBytes<A>(_: (_: Swift.UnsafeRawBufferPointer) throws -> A) throws -> A func getBytes(at: Swift.Int, length: Swift.Int) -> [Swift.UInt8]? func getString(at: Swift.Int, length: Swift.Int) -> Swift.String? func readBytes(length: Swift.Int) -> [Swift.UInt8]? func writeData(_: Foundation.Data) -> Swift.Int static func __derived_struct_equals(_: SwiftAvro.ByteBuffer, _: SwiftAvro.ByteBuffer) -> Swift.Bool }