// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
// SPDX-License-Identifier: MIT

package codecs

// G711Payloader payloads G711 packets.
type G711Payloader struct{}

// Payload fragments an G711 packet across one or more byte arrays.
func ( *G711Payloader) ( uint16,  []byte) [][]byte {
	var  [][]byte
	if  == nil ||  == 0 {
		return 
	}

	for len() > int() {
		 := make([]byte, )
		copy(, [:])
		 = [:]
		 = append(, )
	}
	 := make([]byte, len())
	copy(, )

	return append(, )
}