         throw FBReaderError.outOfBufferBounds
     }
     
-    public func buffer(position : Int, length : Int) throws -> UnsafeBufferPointer<UInt8> {
-        if UInt64(position + length) > fileSize {
-            throw FBReaderError.outOfBufferBounds
-        }
-        fileHandle.seek(toFileOffset: UInt64(position))
+    public func bytes(at offset : Int, length : Int) throws -> UnsafeBufferPointer<UInt8> {
+        if UInt64(offset + length) > fileSize {
+            throw FBReaderError.outOfBufferBounds
+        }
+        fileHandle.seek(toFileOffset: UInt64(offset))
         let data = fileHandle.readData(ofLength:Int(length))
         let pointer = UnsafeMutablePointer<UInt8>.allocate(capacity: 1)
         let t : UnsafeMutableBufferPointer<UInt8> = UnsafeMutableBufferPointer(start: pointer, count: length)

        self.cache = cache
    }
    
    public func fromByteArray<T : Scalar>(position : Int) throws -> T {
        let seekPosition = UInt64(position)
        if seekPosition + UInt64(MemoryLayout<T>.stride) > fileSize {
            throw FBReaderError.outOfBufferBounds
        }

        }
        let position = Int(objectOffset + propertyOffset)
        do {
            return try getScalar(at: position)
        } catch {
            return defaultValue
        }
