 	}
 
 	static func write(to fileHandle: FileHandle, compression: CompressionAlgorithm = .none) throws {
-		guard let data = self.data(compression: compression) else { throw UTS46Error.compressionError }
+		let data = try self.data(compression: compression)
 
 		if #available(macOS 10.15, iOS 13.0, *) {
 			try fileHandle.write(contentsOf: data)

		return data
	}

	static func data(compression: CompressionAlgorithm = .none, includeCRC: Bool = true) -> Data? {
		var outputData = Data()

		var data = self.characterMapData() + self.disallowedCharactersData() + self.ignoredCharactersData() + self.joiningTypesData()

	}

	static func write(to url: URL, compression: CompressionAlgorithm = .none) throws {
		let data = try self.data(compression: compression)
		try data.write(to: url)
	}

