<commit_before>package io.particle.particlemesh.bluetooth

import io.particle.particlemesh.meshsetup.readByteArray
import java.nio.ByteBuffer


class PacketMTUSplitter(
        private val outputTarget: (ByteArray) -> Unit,
        private val mtuSize: Int = 20,
        bufferSize: Int = 10240
) {

    private val buffer = ByteBuffer.allocate(bufferSize)

    @Synchronized
    fun splitIntoPackets(bytes: ByteArray) {
        buffer.clear()
        buffer.put(bytes)
        buffer.flip()

        val packets = mutableListOf<ByteArray>()<commit_msg>Remove dead code<commit_after>package io.particle.particlemesh.bluetooth

import io.particle.particlemesh.meshsetup.readByteArray
import java.nio.ByteBuffer


class PacketMTUSplitter(
        private val outputTarget: (ByteArray) -> Unit,
        private val mtuSize: Int = 20,
        bufferSize: Int = 10240
) {

    private val buffer = ByteBuffer.allocate(bufferSize)

    @Synchronized
    fun splitIntoPackets(bytes: ByteArray) {
        buffer.clear()
        buffer.put(bytes)
        buffer.flip()

{'fraction_non_alphanumeric': 0.08773584905660377, 'fraction_numerical': 0.013207547169811321, 'mean_word_length': 3.2270916334661353, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5713270', 'n_tokens_mistral': 336, 'n_tokens_neox': 302, 'n_words': 68}