Buffer conversion