SwiftstructSearchOnDeviceAnalytics

struct SwiftAvro.ByteBuffer

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 44

  1. funcstatic __derived_struct_equals(SwiftAvro.ByteBuffer, SwiftAvro.ByteBuffer) -> Bool
  2. fieldvar data: Foundation.Data
  3. fieldvar readerIndex: Int
  4. func_toEndianness<A where A: FixedWidthInteger>(value: A, endianness: SwiftAvro.Endianness) -> A
  5. funcgetBytes(at: Int, length: Int) -> [UInt8]?
  6. funcgetInteger<A where A: FixedWidthInteger>(at: Int, endianness: SwiftAvro.Endianness, as: A.Type) -> A?
  7. funcgetString(at: Int, length: Int) -> String?
  8. funcmoveReaderIndex(to: Int) -> ()
  9. funcmoveReaderIndex(forwardBy: Int) -> ()
  10. funcreadAvroArray(SwiftAvro.AvroArraySchema) -> SwiftAvro.AvroValue?
  11. funcreadAvroMap(SwiftAvro.AvroMapSchema) -> SwiftAvro.AvroValue?
  12. funcreadAvroPrimitive(SwiftAvro.AvroPrimitiveSchema) -> SwiftAvro.AvroValue?
  13. funcreadAvroRecord(SwiftAvro.AvroRecordSchema) -> SwiftAvro.AvroValue?
  14. funcreadAvroUnion(SwiftAvro.AvroUnionSchema) -> SwiftAvro.AvroValue?
  15. funcreadAvroValue(SwiftAvro.AvroSchema) -> SwiftAvro.AvroValue?
  16. funcreadBytes(length: Int) -> [UInt8]?
  17. funcreadInteger<A where A: FixedWidthInteger>(endianness: SwiftAvro.Endianness, as: A.Type) -> A?
  18. funcreadString(length: Int) -> String?
  19. funcwithUnsafeBytes<A>((UnsafeRawBufferPointer) throws -> A) throws -> A
  20. funcwriteAvroArray(SwiftAvro.AvroArray) -> Int
  21. funcwriteAvroBool(Bool) -> Int
  22. funcwriteAvroBytes(Foundation.Data) -> Int
  23. funcwriteAvroBytes(SwiftAvro.ByteBuffer) -> Int
  24. funcwriteAvroBytes([UInt8]) -> Int
  25. funcwriteAvroDouble(Double) -> Int
  26. funcwriteAvroFloat(Float) -> Int
  27. funcwriteAvroInt(Int32) -> Int
  28. funcwriteAvroLong(Int64) -> Int
  29. funcwriteAvroMap(SwiftAvro.AvroMap) -> Int
  30. funcwriteAvroPrimitive(SwiftAvro.AvroPrimitive) -> Int
  31. funcwriteAvroRecord(SwiftAvro.AvroRecord) -> Int
  32. funcwriteAvroString(String) -> Int
  33. funcwriteAvroUnion(SwiftAvro.AvroUnion) -> Int
  34. funcwriteAvroValue(SwiftAvro.AvroValue) -> Int
  35. funcwriteBytes([UInt8]) -> Int
  36. funcwriteData(Foundation.Data) -> Int
  37. funcwriteImmutableBuffer(SwiftAvro.ByteBuffer) -> Int
  38. funcwriteInteger<A where A: FixedWidthInteger>(_: A, endianness: SwiftAvro.Endianness) -> Int
  39. funcwriteString(String) -> Int
  40. initinit(data: Foundation.Data) -> SwiftAvro.ByteBuffer
  41. initinit(bytes: [UInt8]) -> SwiftAvro.ByteBuffer
  42. initinit() -> SwiftAvro.ByteBuffer
  43. varvar count: Int { get }
  44. varvar readableBytesView: SwiftAvro.ByteBufferView { get }
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
}